From f8b64fbc38eead48cbccff4f75d11d3224b400dd Mon Sep 17 00:00:00 2001 From: ctrlaltca Date: Tue, 28 Nov 2023 10:38:17 +0100 Subject: 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/--- src/modules/help/HelpWindow.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/modules/help/HelpWindow.h') 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 -#ifdef COMPILE_WEBENGINE_SUPPORT -#include -#else -class QTextBrowser; -#endif - #include +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); -- cgit v1.3.1-10-gc9f91