Commit df8ffac6 authored by Julius Künzel's avatar Julius Künzel
Browse files

Now that everything is fixed in Craft, use the new KNS dialog on windows

too

Fixes #1192
parent 3281c37c
Pipeline #137199 passed with stage
in 7 minutes and 22 seconds
......@@ -91,7 +91,7 @@ SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
#include <klocalizedstring.h>
#include <knewstuff_version.h>
// TODO The NewStuff QML Dialog doesn't work on windows for some reasons, use the old one until we found out why
#if KNEWSTUFF_VERSION < QT_VERSION_CHECK(5,78,0) || defined (Q_OS_WIN)
#if KNEWSTUFF_VERSION < QT_VERSION_CHECK(5,78,0)
#include <kns3/downloaddialog.h>
#else
#include <kns3/qtquickdialogwrapper.h>
......@@ -3347,7 +3347,7 @@ int MainWindow::getNewStuff(const QString &configFile)
{
// TODO The NewStuff QML Dialog doesn't work on windows for some reasons, use the old one until we found out why
#if KNEWSTUFF_VERSION < QT_VERSION_CHECK(5,78,0) || defined (Q_OS_WIN)
#if KNEWSTUFF_VERSION < QT_VERSION_CHECK(5,78,0)
KNS3::Entry::List entries;
QPointer<KNS3::DownloadDialog> dialog = new KNS3::DownloadDialog(configFile);
if (dialog->exec() != 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment