summaryrefslogtreecommitdiff
authorpaule <paule>2007-01-13 07:23:35 (UTC)
committer paule <paule>2007-01-13 07:23:35 (UTC)
commit80d1934bbbfaea40ee08cf6be738c6517de9477c (patch) (side-by-side diff)
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
@@ -2329,33 +2329,34 @@ void KateView::configDialog()
colorConfig->getColors(colors);
myDoc->setFont (fontConfig->getFont());
applyColors();
// indent options
indentConfig->getData(this);
// select options
selectConfig->getData(this);
// edit options
editConfig->getData(this);
// spell checker
hlManager->setHlDataList(hlDataList);
hlManager->setDefaults(defaultStyleList);
hlPage->saveData();
}
-// delete kd;
+ qApp->processEvents();
+ delete kd;
#endif
}
int KateView::getHl() {
return myDoc->highlightNum();
}
void KateView::setDontChangeHlOnSave()
{
myDoc->setDontChangeHlOnSave();
}
void KateView::setHl(int n) {
myDoc->setHighlight(n);
myDoc->setDontChangeHlOnSave();