author | zautrix <zautrix> | 2004-09-15 07:25:40 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-15 07:25:40 (UTC) |
commit | dbd146e54cd7c48248c9c66b503b54280e09562a (patch) (unidiff) | |
tree | 6e911db9d3ec30d4f39b1f8125395dbdf19f21f6 /microkde/kutils/kcmultidialog.cpp | |
parent | 540bbf4ded9f06df9a56e74f48bb606fb43f05d7 (diff) | |
download | kdepimpi-dbd146e54cd7c48248c9c66b503b54280e09562a.zip kdepimpi-dbd146e54cd7c48248c9c66b503b54280e09562a.tar.gz kdepimpi-dbd146e54cd7c48248c9c66b503b54280e09562a.tar.bz2 |
Fix of saving settings in KA/Pi
Diffstat (limited to 'microkde/kutils/kcmultidialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kutils/kcmultidialog.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp index 6c82e4f..e7aa9d1 100644 --- a/microkde/kutils/kcmultidialog.cpp +++ b/microkde/kutils/kcmultidialog.cpp | |||
@@ -78,13 +78,16 @@ void KCMultiDialog::slotDefault() | |||
78 | clientChanged(true); | 78 | clientChanged(true); |
79 | return; | 79 | return; |
80 | } | 80 | } |
81 | } | 81 | } |
82 | 82 | ||
83 | } | 83 | } |
84 | 84 | void KCMultiDialog::accept() | |
85 | { | ||
86 | slotOk(); | ||
87 | } | ||
85 | void KCMultiDialog::slotApply() | 88 | void KCMultiDialog::slotApply() |
86 | { | 89 | { |
87 | qDebug("KCMultiDialog::slotApply clicked"); | 90 | qDebug("KCMultiDialog::slotApply clicked"); |
88 | 91 | ||
89 | QPtrListIterator<KCModule> it(modules); | 92 | QPtrListIterator<KCModule> it(modules); |
90 | for (; it.current(); ++it) | 93 | for (; it.current(); ++it) |
@@ -100,13 +103,13 @@ void KCMultiDialog::slotOk() | |||
100 | { | 103 | { |
101 | qDebug("KCMultiDialog::slotOk clicked"); | 104 | qDebug("KCMultiDialog::slotOk clicked"); |
102 | 105 | ||
103 | QPtrListIterator<KCModule> it(modules); | 106 | QPtrListIterator<KCModule> it(modules); |
104 | for (; it.current(); ++it) | 107 | for (; it.current(); ++it) |
105 | (*it)->save(); | 108 | (*it)->save(); |
106 | accept(); | 109 | QDialog::accept(); |
107 | 110 | ||
108 | emit okClicked(); | 111 | emit okClicked(); |
109 | } | 112 | } |
110 | 113 | ||
111 | void KCMultiDialog::slotHelp() | 114 | void KCMultiDialog::slotHelp() |
112 | { | 115 | { |