aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/libkvihelp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/libkvihelp.cpp')
-rw-r--r--src/modules/help/libkvihelp.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/modules/help/libkvihelp.cpp b/src/modules/help/libkvihelp.cpp
index 7eeb4e57e..9c0b5e583 100644
--- a/src/modules/help/libkvihelp.cpp
+++ b/src/modules/help/libkvihelp.cpp
@@ -185,11 +185,7 @@ static bool help_kvs_cmd_open(KviKvsModuleCommandCall * c)
if(w)
{
-#ifdef COMPILE_WEBENGINE_SUPPORT
- w->textBrowser()->load(QUrl::fromLocalFile(f.absoluteFilePath()));
-#else
w->textBrowser()->setSource(QUrl::fromLocalFile(f.absoluteFilePath()));
-#endif
HelpWindow * pHelpWindow = g_pHelpWindowList->first();
if (pHelpWindow)
pHelpWindow->delayedAutoRaise();
@@ -199,21 +195,13 @@ static bool help_kvs_cmd_open(KviKvsModuleCommandCall * c)
if(c->switches()->find('m', "mdi"))
{
HelpWindow * w = new HelpWindow("Help browser");
-#ifdef COMPILE_WEBENGINE_SUPPORT
- w->textBrowser()->load(QUrl::fromLocalFile(f.absoluteFilePath()));
-#else
w->textBrowser()->setSource(QUrl::fromLocalFile(f.absoluteFilePath()));
-#endif
g_pMainWindow->addWindow(w);
}
else
{
HelpWidget * w = new HelpWidget(g_pMainWindow->splitter(), true);
-#ifdef COMPILE_WEBENGINE_SUPPORT
- w->textBrowser()->load(QUrl::fromLocalFile(f.absoluteFilePath()));
-#else
w->textBrowser()->setSource(QUrl::fromLocalFile(f.absoluteFilePath()));
-#endif
w->show();
}