author | ulf69 <ulf69> | 2004-09-15 22:40:33 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-09-15 22:40:33 (UTC) |
commit | 56450c0322c2335a59ae8d8796e41397cdb09329 (patch) (unidiff) | |
tree | f2b331be957fc022fe7110671f7434755f21eca3 | |
parent | 610cf2a6c7aaf9855b54cd0453f347edf9c1a855 (diff) | |
download | kdepimpi-56450c0322c2335a59ae8d8796e41397cdb09329.zip kdepimpi-56450c0322c2335a59ae8d8796e41397cdb09329.tar.gz kdepimpi-56450c0322c2335a59ae8d8796e41397cdb09329.tar.bz2 |
better openfile dialogs / make dialogs explicit modal
-rw-r--r-- | pwmanager/pwmanager/addentrywndimpl.cpp | 3 | ||||
-rw-r--r-- | pwmanager/pwmanager/configwndimpl.cpp | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/addentrywndimpl.cpp b/pwmanager/pwmanager/addentrywndimpl.cpp index 9e0fde9..73ba36c 100644 --- a/pwmanager/pwmanager/addentrywndimpl.cpp +++ b/pwmanager/pwmanager/addentrywndimpl.cpp | |||
@@ -38,2 +38,5 @@ | |||
38 | AddEntryWndImpl::AddEntryWndImpl() | 38 | AddEntryWndImpl::AddEntryWndImpl() |
39 | #ifdef PWM_EMBEDDED | ||
40 | : addEntryWnd( 0, "AddEntryWndImpl", TRUE) | ||
41 | #endif | ||
39 | { | 42 | { |
diff --git a/pwmanager/pwmanager/configwndimpl.cpp b/pwmanager/pwmanager/configwndimpl.cpp index 5aa38d4..595a6e7 100644 --- a/pwmanager/pwmanager/configwndimpl.cpp +++ b/pwmanager/pwmanager/configwndimpl.cpp | |||
@@ -39,2 +39,6 @@ | |||
39 | ConfigWndImpl::ConfigWndImpl() | 39 | ConfigWndImpl::ConfigWndImpl() |
40 | #ifdef PWM_EMBEDDED | ||
41 | : configWnd(0, "ConfigWndImpl", TRUE) | ||
42 | #endif | ||
43 | |||
40 | { | 44 | { |
@@ -58,2 +62,3 @@ void ConfigWndImpl::browseAutoStButton_slot() | |||
58 | { | 62 | { |
63 | #ifndef PWM_EMBEDDED | ||
59 | QString path(KFileDialog::getOpenFileName(QString::null, | 64 | QString path(KFileDialog::getOpenFileName(QString::null, |
@@ -61,2 +66,7 @@ void ConfigWndImpl::browseAutoStButton_slot() | |||
61 | "*|All files"), this)); | 66 | "*|All files"), this)); |
67 | #else | ||
68 | QString path = locateLocal( "data", KGlobal::getAppName() + "/*.pwm"); | ||
69 | path = KFileDialog::getOpenFileName(filename, | ||
70 | i18n("password filename(*.pwm)"), this); | ||
71 | #endif | ||
62 | if (path != QString::null) | 72 | if (path != QString::null) |