summaryrefslogtreecommitdiff
authorpaule <paule>2007-01-13 07:23:35 (UTC)
committer paule <paule>2007-01-13 07:23:35 (UTC)
commit80d1934bbbfaea40ee08cf6be738c6517de9477c (patch) (unidiff)
tree58b8f41630b3ad81422c9b47fd0ef1fc0967a8c0
parentbccf96bb5b516d05df54dbcee8b8402ded815ed4 (diff)
downloadopie-80d1934bbbfaea40ee08cf6be738c6517de9477c.zip
opie-80d1934bbbfaea40ee08cf6be738c6517de9477c.tar.gz
opie-80d1934bbbfaea40ee08cf6be738c6517de9477c.tar.bz2
Delete configuration dialog object on closing
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/tinykate/libkate/view/kateview.cpp3
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
@@ -2333,25 +2333,26 @@ void KateView::configDialog()
2333 // indent options 2333 // indent options
2334 indentConfig->getData(this); 2334 indentConfig->getData(this);
2335 // select options 2335 // select options
2336 selectConfig->getData(this); 2336 selectConfig->getData(this);
2337 // edit options 2337 // edit options
2338 editConfig->getData(this); 2338 editConfig->getData(this);
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
2350int KateView::getHl() { 2351int KateView::getHl() {
2351 return myDoc->highlightNum(); 2352 return myDoc->highlightNum();
2352} 2353}
2353 2354
2354void KateView::setDontChangeHlOnSave() 2355void KateView::setDontChangeHlOnSave()
2355{ 2356{
2356 myDoc->setDontChangeHlOnSave(); 2357 myDoc->setDontChangeHlOnSave();
2357} 2358}