aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/setup
diff options
context:
space:
mode:
authorGravatar Elvio Basello2008-10-09 15:10:14 +0000
committerGravatar Elvio Basello2008-10-09 15:10:14 +0000
commite32db8481618113efe096523fecd8b28d8f884b2 (patch)
tree2afe3da37fcdfabb45efb1a999bcff31a8afc005 /src/modules/setup
parentremoved useless define (diff)
downloadKVIrc-e32db8481618113efe096523fecd8b28d8f884b2.tar.gz
KVIrc-e32db8481618113efe096523fecd8b28d8f884b2.tar.bz2
KVIrc-e32db8481618113efe096523fecd8b28d8f884b2.zip
renamed old KDE 3 define
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2676 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/setup')
-rw-r--r--src/modules/setup/setupwizard.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp
index 9466f1bb5..c2b5e36a8 100644
--- a/src/modules/setup/setupwizard.cpp
+++ b/src/modules/setup/setupwizard.cpp
@@ -507,7 +507,7 @@ KviSetupWizard::KviSetupWizard()
m_pCreateUrlHandlers = new QCheckBox(__tr2qs("Make KVIrc default IRC client"),m_pDesktopIntegration->m_pVBox);
m_pCreateUrlHandlers->setChecked(true);
#endif
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
m_pCreateDesktopShortcut = new QCheckBox(__tr2qs("Create desktop shortcut"),m_pDesktopIntegration->m_pVBox);
m_pCreateDesktopShortcut->setChecked(true);
#endif
@@ -851,7 +851,7 @@ void KviSetupWizard::makeLink()
CoUninitialize();
#endif //COMPILE_ON_WINDOWS
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
QString tmp = QDir::homePath();
KviQString::ensureLastCharIs(tmp,KVI_PATH_SEPARATOR_CHAR);
tmp.append("Desktop");
@@ -870,7 +870,7 @@ void KviSetupWizard::makeLink()
"X-KDE-SubstituteUID=false\n";
KviFileUtils::writeFile(tmp,contents,false);
-#endif //COMPILE_KDE_SUPPORT
+#endif //COMPILE_KDE3_SUPPORT
}
@@ -1016,7 +1016,7 @@ void KviSetupWizard::accept()
symlink(QTextCodec::codecForLocale()->fromUnicode(g_pApp->m_szGlobalKvircDir).data(),QTextCodec::codecForLocale()->fromUnicode(localPath).data());
#endif
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
if(m_pCreateDesktopShortcut->isChecked())
makeLink();
#endif