aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon/WebAddonInterfaceDialog.cpp
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/addon/WebAddonInterfaceDialog.cpp
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/addon/WebAddonInterfaceDialog.cpp')
-rw-r--r--src/modules/addon/WebAddonInterfaceDialog.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/modules/addon/WebAddonInterfaceDialog.cpp b/src/modules/addon/WebAddonInterfaceDialog.cpp
index bf6ed8ced..648e20597 100644
--- a/src/modules/addon/WebAddonInterfaceDialog.cpp
+++ b/src/modules/addon/WebAddonInterfaceDialog.cpp
@@ -24,8 +24,6 @@
#include "kvi_settings.h"
-#ifdef COMPILE_WEBENGINE_SUPPORT
-
#include "WebAddonInterfaceDialog.h"
#include "AddonFunctions.h"
@@ -41,10 +39,9 @@ WebAddonInterfaceDialog::WebAddonInterfaceDialog(QWidget * par)
{
setWindowTitle(__tr2qs_ctx("Download Addons - KVIrc", "theme"));
- setPackagePageUrl(
- QString::fromLatin1("https://www.kvirc.net/app/addons.php?version=" KVI_VERSION "&lang=%1")
- .arg(KviLocale::instance()->localeName()));
+ setPackagePageUrl("https://kvirc.github.io/kvirc-addons/");
}
+
WebAddonInterfaceDialog::~WebAddonInterfaceDialog()
= default;
@@ -65,5 +62,3 @@ bool WebAddonInterfaceDialog::packageIsInstalled(const QString & szId, const QSt
// FIXME: If the version of the installed addon is lower than allow upgrading!
return KviMiscUtils::compareVersions(pAddon->version(), szVersion) < 0;
}
-
-#endif //COMPILE_WEBENGINE_SUPPORT