Diffstat (limited to 'noncore/apps/tinykate/libkate/view/kateview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/tinykate/libkate/view/kateview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/noncore/apps/tinykate/libkate/view/kateview.cpp b/noncore/apps/tinykate/libkate/view/kateview.cpp index 63e941f..af3b30d 100644 --- a/noncore/apps/tinykate/libkate/view/kateview.cpp +++ b/noncore/apps/tinykate/libkate/view/kateview.cpp @@ -48,2 +48,3 @@ #include "../document/katedialogs.h" +#include <kateconfig.h> @@ -58,3 +59,2 @@ #include <qintdict.h> -#include <kconfig.h> #include <qfont.h> @@ -1243,2 +1243,3 @@ KateView::~KateView() { + writeConfig(); @@ -1248,3 +1249,2 @@ KateView::~KateView() delete myViewInternal; - } @@ -2224,3 +2224,3 @@ void KateView::readConfig() { - KConfig *config = KGlobal::config(); + KateConfig *config = KGlobal::config(); config->setGroup("Kate View"); @@ -2230,3 +2230,3 @@ void KateView::readConfig() - config->sync(); +// config->sync(); } @@ -2235,3 +2235,3 @@ void KateView::writeConfig() { - KConfig *config = KGlobal::config(); + KateConfig *config = KGlobal::config(); config->setGroup("Kate View"); @@ -2241,6 +2241,6 @@ void KateView::writeConfig() - config->sync(); +// config->sync(); } -void KateView::readSessionConfig(KConfig *config) +void KateView::readSessionConfig(KateConfig *config) { @@ -2257,3 +2257,3 @@ void KateView::readSessionConfig(KConfig *config) -void KateView::writeSessionConfig(KConfig *config) +void KateView::writeSessionConfig(KateConfig *config) { @@ -2322,3 +2322,3 @@ void KateView::configDialog() hlDataList.setAutoDelete(true); - //this gets the data from the KConfig object + //this gets the data from the KateConfig object hlManager->getHlDataList(hlDataList); |