aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon/WebAddonInterfaceDialog.cpp
diff options
context:
space:
mode:
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