Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
df8ffac6
Commit
df8ffac6
authored
Feb 14, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
df8ffac6
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment