aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help
diff options
context:
space:
mode:
authorGravatar Noldor2008-04-21 15:21:38 +0000
committerGravatar Noldor2008-04-21 15:21:38 +0000
commit5ef8cf5c2ca77de12c53971109aa38e95700e7be (patch)
tree2305dcafb350df2f40201b5356e55122bb812aac /src/modules/help
parentscript editor port (wip) (diff)
downloadKVIrc-5ef8cf5c2ca77de12c53971109aa38e95700e7be.tar.gz
KVIrc-5ef8cf5c2ca77de12c53971109aa38e95700e7be.tar.bz2
KVIrc-5ef8cf5c2ca77de12c53971109aa38e95700e7be.zip
more qt4 port (renamed QT3 stuff))
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1547 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/help')
-rw-r--r--src/modules/help/libkvihelp.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/modules/help/libkvihelp.cpp b/src/modules/help/libkvihelp.cpp
index 838cc0a1c..66b774982 100644
--- a/src/modules/help/libkvihelp.cpp
+++ b/src/modules/help/libkvihelp.cpp
@@ -145,10 +145,18 @@ static bool help_kvs_cmd_open(KviKvsModuleCommandCall * c)
KVSM_PARAMETERS_END(c)
g_pApp->getGlobalKvircDirectory(szHelpDir,KviApp::Help);
-
- if(doc.isEmpty())doc = szHelpDir + "/index.html";
-
+ if(doc.isEmpty()){
+
+ doc = szHelpDir + "\\index.html";
+ debug ("No file, use default at path %s",doc.toUtf8().data());
+ }
+ else
+
+ {
+ debug("Doc set from user to %s",doc.toUtf8().data());
+ }
QFileInfo * f= new QFileInfo(doc);
+ debug ("Path %d",doc.toUtf8().data());
if(f)
{
if(!f->exists())