summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-09-16 13:26:01 (UTC)
committer zautrix <zautrix>2004-09-16 13:26:01 (UTC)
commit129ba78dfbf4a44ad45058f354c1426ea530e2ca (patch) (unidiff)
treeff78e67718580d732a9dd6570105851a276f65cf
parentd168b6b9c0c74ae6862f3dac8c7f1f8e068a2a4a (diff)
downloadkdepimpi-129ba78dfbf4a44ad45058f354c1426ea530e2ca.zip
kdepimpi-129ba78dfbf4a44ad45058f354c1426ea530e2ca.tar.gz
kdepimpi-129ba78dfbf4a44ad45058f354c1426ea530e2ca.tar.bz2
make it compile
Diffstat (more/less context) (ignore 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
@@ -53,33 +53,33 @@ void ConfigWndImpl::okButton_slot()
53 done(0); 53 done(0);
54} 54}
55 55
56void ConfigWndImpl::cancelButton_slot() 56void ConfigWndImpl::cancelButton_slot()
57{ 57{
58 done(1); 58 done(1);
59} 59}
60 60
61void ConfigWndImpl::browseAutoStButton_slot() 61void ConfigWndImpl::browseAutoStButton_slot()
62{ 62{
63#ifndef PWM_EMBEDDED 63#ifndef PWM_EMBEDDED
64 QString path(KFileDialog::getOpenFileName(QString::null, 64 QString path(KFileDialog::getOpenFileName(QString::null,
65 i18n("*.pwm|PwM Password file\n" 65 i18n("*.pwm|PwM Password file\n"
66 "*|All files"), this)); 66 "*|All files"), this));
67#else 67#else
68 QString path = locateLocal( "data", KGlobal::getAppName() + "/*.pwm"); 68 QString path = locateLocal( "data", KGlobal::getAppName() + "/*.pwm");
69 path = KFileDialog::getOpenFileName(filename, 69 path = KFileDialog::getOpenFileName(path,
70 i18n("password filename(*.pwm)"), this); 70 i18n("password filename(*.pwm)"), this);
71#endif 71#endif
72 if (path != QString::null) 72 if (path != QString::null)
73 autoStartLineEdit->setText(path); 73 autoStartLineEdit->setText(path);
74} 74}
75 75
76void ConfigWndImpl::selEntrFontButton_slot() 76void ConfigWndImpl::selEntrFontButton_slot()
77{ 77{
78 bool ok; 78 bool ok;
79#ifndef PWM_EMBEDDED 79#ifndef PWM_EMBEDDED
80 QFont fnt = QFontDialog::getFont(&ok, currentEntryFont, this); 80 QFont fnt = QFontDialog::getFont(&ok, currentEntryFont, this);
81#else 81#else
82 QFont fnt = KFontDialog::getFont(currentEntryFont, ok); 82 QFont fnt = KFontDialog::getFont(currentEntryFont, ok);
83#endif 83#endif
84 if (!ok) 84 if (!ok)
85 return; 85 return;