aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon/addonfunctions.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2010-03-02 11:42:56 +0000
committerGravatar Noldor2010-03-02 11:42:56 +0000
commit4d47a54ea31ab92f763852ebe31bbba59ddfd56c (patch)
tree41b853fb4181e529f1fba03f6b33837121407fdd /src/modules/addon/addonfunctions.cpp
parentAnother compilation fix under win (diff)
downloadKVIrc-4d47a54ea31ab92f763852ebe31bbba59ddfd56c.tar.gz
KVIrc-4d47a54ea31ab92f763852ebe31bbba59ddfd56c.tar.bz2
KVIrc-4d47a54ea31ab92f763852ebe31bbba59ddfd56c.zip
Fixed addon install on win
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4081 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/addon/addonfunctions.cpp')
-rw-r--r--src/modules/addon/addonfunctions.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/addon/addonfunctions.cpp b/src/modules/addon/addonfunctions.cpp
index 1a7133682..b245b176f 100644
--- a/src/modules/addon/addonfunctions.cpp
+++ b/src/modules/addon/addonfunctions.cpp
@@ -247,7 +247,11 @@ namespace KviAddonFunctions
}
// Now we have all stuff in ~/.config/KVIrc/tmp/$rand
- KviKvsScript::run("parse " + szUnpackPath + "/install.kvs",g_pActiveWindow);
+
+ QString szParse="parse \"" + szUnpackPath + "\\install.kvs"+"\"";
+ szParse.replace("\\","\\\\");
+ KviKvsScript::run(szParse,g_pActiveWindow);
+
// Remove all files
QDir * pDir = new QDir(szUnpackPath);