summaryrefslogtreecommitdiffabout
path: root/pwmanager
Side-by-side diff
Diffstat (limited to 'pwmanager') (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/configwndimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/configwndimpl.cpp b/pwmanager/pwmanager/configwndimpl.cpp
index 595a6e7..5440498 100644
--- a/pwmanager/pwmanager/configwndimpl.cpp
+++ b/pwmanager/pwmanager/configwndimpl.cpp
@@ -63,13 +63,13 @@ void ConfigWndImpl::browseAutoStButton_slot()
#ifndef PWM_EMBEDDED
QString path(KFileDialog::getOpenFileName(QString::null,
i18n("*.pwm|PwM Password file\n"
"*|All files"), this));
#else
QString path = locateLocal( "data", KGlobal::getAppName() + "/*.pwm");
- path = KFileDialog::getOpenFileName(filename,
+ path = KFileDialog::getOpenFileName(path,
i18n("password filename(*.pwm)"), this);
#endif
if (path != QString::null)
autoStartLineEdit->setText(path);
}