author | paule <paule> | 2007-01-13 07:23:35 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-13 07:23:35 (UTC) |
commit | 80d1934bbbfaea40ee08cf6be738c6517de9477c (patch) (unidiff) | |
tree | 58b8f41630b3ad81422c9b47fd0ef1fc0967a8c0 | |
parent | bccf96bb5b516d05df54dbcee8b8402ded815ed4 (diff) | |
download | opie-80d1934bbbfaea40ee08cf6be738c6517de9477c.zip opie-80d1934bbbfaea40ee08cf6be738c6517de9477c.tar.gz opie-80d1934bbbfaea40ee08cf6be738c6517de9477c.tar.bz2 |
Delete configuration dialog object on closing
-rw-r--r-- | noncore/apps/tinykate/libkate/view/kateview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/tinykate/libkate/view/kateview.cpp b/noncore/apps/tinykate/libkate/view/kateview.cpp index c5673a5..b9ebb1a 100644 --- a/noncore/apps/tinykate/libkate/view/kateview.cpp +++ b/noncore/apps/tinykate/libkate/view/kateview.cpp | |||
@@ -2339,13 +2339,14 @@ void KateView::configDialog() | |||
2339 | // spell checker | 2339 | // spell checker |
2340 | hlManager->setHlDataList(hlDataList); | 2340 | hlManager->setHlDataList(hlDataList); |
2341 | hlManager->setDefaults(defaultStyleList); | 2341 | hlManager->setDefaults(defaultStyleList); |
2342 | hlPage->saveData(); | 2342 | hlPage->saveData(); |
2343 | } | 2343 | } |
2344 | 2344 | ||
2345 | // delete kd; | 2345 | qApp->processEvents(); |
2346 | delete kd; | ||
2346 | 2347 | ||
2347 | #endif | 2348 | #endif |
2348 | } | 2349 | } |
2349 | 2350 | ||
2350 | int KateView::getHl() { | 2351 | int KateView::getHl() { |
2351 | return myDoc->highlightNum(); | 2352 | return myDoc->highlightNum(); |