author | zautrix <zautrix> | 2005-01-17 12:18:59 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-17 12:18:59 (UTC) |
commit | 6b166ece0a576e9be9c71a61fab5424d75a9301f (patch) (unidiff) | |
tree | b88bf3e82cafc0ac279eb46b8ebc61f112083032 /kaddressbook/kaddressbookmain.cpp | |
parent | 376ffdba71ab4d7d7988229f38678394a54e5576 (diff) | |
download | kdepimpi-6b166ece0a576e9be9c71a61fab5424d75a9301f.zip kdepimpi-6b166ece0a576e9be9c71a61fab5424d75a9301f.tar.gz kdepimpi-6b166ece0a576e9be9c71a61fab5424d75a9301f.tar.bz2 |
many AB fixes
Diffstat (limited to 'kaddressbook/kaddressbookmain.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/kaddressbookmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/kaddressbookmain.cpp b/kaddressbook/kaddressbookmain.cpp index 2832257..519dc92 100644 --- a/kaddressbook/kaddressbookmain.cpp +++ b/kaddressbook/kaddressbookmain.cpp | |||
@@ -214,26 +214,26 @@ void KAddressBookMain::closeEvent( QCloseEvent* ce ) | |||
214 | { | 214 | { |
215 | 215 | ||
216 | int res = QMessageBox::information( this, "KA/Pi", mess , i18n("Yes!"), i18n("No"), 0, 0 ); | 216 | int res = QMessageBox::information( this, "KA/Pi", mess , i18n("Yes!"), i18n("No"), 0, 0 ); |
217 | if (res == 0) | 217 | if (res == 0) |
218 | mQuit = true; | 218 | mQuit = true; |
219 | else | 219 | else |
220 | mQuit = false; | 220 | mQuit = false; |
221 | } | 221 | } |
222 | 222 | ||
223 | if (mQuit == false) | 223 | if (mQuit == false) |
224 | return; | 224 | return; |
225 | 225 | ||
226 | if (mModified == true) | 226 | if (mModified == true) |
227 | { | 227 | { |
228 | save(); | 228 | save(); |
229 | mCore->saveSettings(); | 229 | mCore->saveSettings(); |
230 | KABPrefs::instance()->writeConfig(); | 230 | //KABPrefs::instance()->writeConfig(); |
231 | } | 231 | } |
232 | 232 | ||
233 | ce->accept(); | 233 | ce->accept(); |
234 | } | 234 | } |
235 | 235 | ||
236 | #ifndef KAB_EMBEDDED | 236 | #ifndef KAB_EMBEDDED |
237 | #include "kaddressbookmain.moc" | 237 | #include "kaddressbookmain.moc" |
238 | #endif //KAB_EMBEDDED | 238 | #endif //KAB_EMBEDDED |
239 | 239 | ||