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/addon/WebAddonInterfaceDialog.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/addon/WebAddonInterfaceDialog.cpp')
| -rw-r--r-- | src/modules/addon/WebAddonInterfaceDialog.cpp | 9 |
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 |
