summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/addentrywndimpl.cpp3
-rw-r--r--pwmanager/pwmanager/configwndimpl.cpp10
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
@@ -37,4 +37,7 @@
37 37
38AddEntryWndImpl::AddEntryWndImpl() 38AddEntryWndImpl::AddEntryWndImpl()
39#ifdef PWM_EMBEDDED
40 : addEntryWnd( 0, "AddEntryWndImpl", TRUE)
41#endif
39{ 42{
40 editAdvCommentButton = 0; 43 editAdvCommentButton = 0;
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
@@ -38,4 +38,8 @@
38 38
39ConfigWndImpl::ConfigWndImpl() 39ConfigWndImpl::ConfigWndImpl()
40#ifdef PWM_EMBEDDED
41 : configWnd(0, "ConfigWndImpl", TRUE)
42#endif
43
40{ 44{
41} 45}
@@ -57,7 +61,13 @@ void ConfigWndImpl::cancelButton_slot()
57void ConfigWndImpl::browseAutoStButton_slot() 61void ConfigWndImpl::browseAutoStButton_slot()
58{ 62{
63#ifndef PWM_EMBEDDED
59 QString path(KFileDialog::getOpenFileName(QString::null, 64 QString path(KFileDialog::getOpenFileName(QString::null,
60 i18n("*.pwm|PwM Password file\n" 65 i18n("*.pwm|PwM Password file\n"
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)
63 autoStartLineEdit->setText(path); 73 autoStartLineEdit->setText(path);