aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/HelpWindow.h
diff options
context:
space:
mode:
authorGravatar ctrlaltca2023-11-28 10:38:17 +0100
committerGravatar GitHub2023-11-28 10:38:17 +0100
commitf8b64fbc38eead48cbccff4f75d11d3224b400dd (patch)
tree26ade25e8d87abf036ea7f429f8f5121efa914e2 /src/modules/help/HelpWindow.h
parentIrcview: Fix out of bound memory read when a line ends with a tab; fix #2377 (diff)
downloadKVIrc-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/HelpWindow.h')
-rw-r--r--src/modules/help/HelpWindow.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/modules/help/HelpWindow.h b/src/modules/help/HelpWindow.h
index 25de74611..4aee40f69 100644
--- a/src/modules/help/HelpWindow.h
+++ b/src/modules/help/HelpWindow.h
@@ -31,17 +31,11 @@
#include "kvi_settings.h"
#include <QTabWidget>
-#ifdef COMPILE_WEBENGINE_SUPPORT
-#include <QWebEngineView>
-#else
-class QTextBrowser;
-#endif
-
#include <QLineEdit>
+class QTextBrowser;
class QProgressBar;
class QPushButton;
-
class HelpWidget;
class HelpWindow : public KviWindow
@@ -79,11 +73,7 @@ protected:
void loadProperties(KviConfigurationFile * cfg) override;
public:
-#ifdef COMPILE_WEBENGINE_SUPPORT
- QWebEngineView * textBrowser();
-#else
QTextBrowser * textBrowser();
-#endif
public slots:
void indexSelected(QListWidgetItem *);
void searchInIndex(const QString & s);