diff --git a/src/kvirc/kernel/kvi_app_setup.cpp b/src/kvirc/kernel/kvi_app_setup.cpp index 65090d1..e2d0514 100644 --- a/src/kvirc/kernel/kvi_app_setup.cpp +++ b/src/kvirc/kernel/kvi_app_setup.cpp @@ -648,10 +648,10 @@ bool KviApp::findLocalKvircDirectory() #ifdef COMPILE_TDE_SUPPORT if(m_szConfigFile.isEmpty()) { // don't do that if user supplied a config file :) - KConfig * cfg = config(); + TDEConfig * cfg = config(); if(cfg) { - if(cfg->getConfigState() == KConfig::ReadWrite) + if(cfg->getConfigState() == TDEConfig::ReadWrite) { cfg->setGroup("Main"); m_szLocalKvircDir = cfg->readEntry("LocalKvircDirectory",""); @@ -824,10 +824,10 @@ void KviApp::saveKvircDirectory() // In KDE we use the application config file if(m_szConfigFile.isEmpty()) { // not if user supplied a config file - KConfig * cfg = config(); + TDEConfig * cfg = config(); if(cfg) { - if(cfg->getConfigState() == KConfig::ReadWrite) + if(cfg->getConfigState() == TDEConfig::ReadWrite) { cfg->setGroup("Main"); cfg->writeEntry("LocalKvircDirectory",m_szLocalKvircDir);