diff options
| author | 2023-11-28 10:38:17 +0100 | |
|---|---|---|
| committer | 2023-11-28 10:38:17 +0100 | |
| commit | f8b64fbc38eead48cbccff4f75d11d3224b400dd (patch) | |
| tree | 26ade25e8d87abf036ea7f429f8f5121efa914e2 /src/modules/help/libkvihelp.cpp | |
| parent | Ircview: Fix out of bound memory read when a line ends with a tab; fix #2377 (diff) | |
| download | KVIrc-f8b64fbc38eead48cbccff4f75d11d3224b400dd.tar.gz KVIrc-f8b64fbc38eead48cbccff4f75d11d3224b400dd.tar.bz2 KVIrc-f8b64fbc38eead48cbccff4f75d11d3224b400dd.zip | |
Remove QWebEngine usage in core. Rewrite web package manager (#2570)
* Remove use of QWebEngine from help module
* Rewrite the WebPackageManagementDialog to use an http/json API instead of a webpage; drop QWebEngine usage
* Edited repository urls to https://kvirc.github.io/
Diffstat (limited to 'src/modules/help/libkvihelp.cpp')
| -rw-r--r-- | src/modules/help/libkvihelp.cpp | 12 |
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(); } |
