summaryrefslogtreecommitdiffabout
Side-by-side diff
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
@@ -38,2 +38,5 @@
AddEntryWndImpl::AddEntryWndImpl()
+#ifdef PWM_EMBEDDED
+ : addEntryWnd( 0, "AddEntryWndImpl", TRUE)
+#endif
{
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 @@
ConfigWndImpl::ConfigWndImpl()
+#ifdef PWM_EMBEDDED
+ : configWnd(0, "ConfigWndImpl", TRUE)
+#endif
+
{
@@ -58,2 +62,3 @@ void ConfigWndImpl::browseAutoStButton_slot()
{
+#ifndef PWM_EMBEDDED
QString path(KFileDialog::getOpenFileName(QString::null,
@@ -61,2 +66,7 @@ void ConfigWndImpl::browseAutoStButton_slot()
"*|All files"), this));
+#else
+ QString path = locateLocal( "data", KGlobal::getAppName() + "/*.pwm");
+ path = KFileDialog::getOpenFileName(filename,
+ i18n("password filename(*.pwm)"), this);
+#endif
if (path != QString::null)