[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/kcontrol/keys
From: Michael Jansen <kde () michael-jansen ! biz>
Date: 2008-03-01 5:17:19
Message-ID: 1204348639.475220.31740.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 780813 by mjansen:
- KDirSelectDialog -> KFileDialog
M +1 -1 CMakeLists.txt
M +2 -2 globalshortcuts.cpp
--- trunk/KDE/kdebase/workspace/kcontrol/keys/CMakeLists.txt #780812:780813
@@ -13,7 +13,7 @@
kde4_add_plugin(kcm_keys ${kcm_keys_PART_SRCS})
-target_link_libraries(kcm_keys ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${X11_X11_LIB})
+target_link_libraries(kcm_keys ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${X11_X11_LIB})
install(TARGETS kcm_keys DESTINATION ${PLUGIN_INSTALL_DIR} )
--- trunk/KDE/kdebase/workspace/kcontrol/keys/globalshortcuts.cpp #780812:780813
@@ -32,7 +32,7 @@
#include <KActionCollection>
#include <KConfig>
#include <KConfigGroup>
-#include <KDirSelectDialog>
+#include <KFileDialog>
#include <KGlobalAccel>
#include <KLocale>
#include <KMessageBox>
@@ -186,7 +186,7 @@
void GlobalShortcutsModule::exportScheme()
{
- KUrl url = KDirSelectDialog::selectDirectory( KUrl(), true, parentWidget() );
+ KUrl url = KFileDialog::getSaveFileName( KUrl(), "*.kksrc", parentWidget() );
if (!url.isEmpty()) {
KConfig config(url.path());
config.deleteGroup( "Shortcuts" );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic