aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/editor
diff options
context:
space:
mode:
authorGravatar Fabio Bas2009-03-14 23:11:45 +0000
committerGravatar Fabio Bas2009-03-14 23:11:45 +0000
commit18b834ffd1325bc79e9fae4e013cf21ae33bfddb (patch)
treee9211da5db8d304bd648e88afa12d38561212ee3 /src/modules/editor
parentcommitted an old 2005 patch for KviGoAwayAction (diff)
downloadKVIrc-18b834ffd1325bc79e9fae4e013cf21ae33bfddb.tar.gz
KVIrc-18b834ffd1325bc79e9fae4e013cf21ae33bfddb.tar.bz2
KVIrc-18b834ffd1325bc79e9fae4e013cf21ae33bfddb.zip
better separation between Modules global directory and Plugins global directory (they don't match under unix)
fix module name auto completion git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3139 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/editor')
-rw-r--r--src/modules/editor/scripteditor.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp
index 2e46c648b..19b5aa50d 100644
--- a/src/modules/editor/scripteditor.cpp
+++ b/src/modules/editor/scripteditor.cpp
@@ -141,11 +141,7 @@ void KviScriptEditorWidget::asyncCompleterCreation()
m_pListCompletition = new QStringList();
QString szPath;
-#ifdef KVIRC_MODULES_DIR
- szPath = KVIRC_MODULES_DIR;
-#else
- g_pApp->getGlobalKvircDirectory(szPath,KviApp::Plugins);
-#endif
+ g_pApp->getGlobalKvircDirectory(szPath,KviApp::Modules);
QDir d(szPath);