Skip to content
GitLab
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
a16f805f
Commit
a16f805f
authored
Aug 17, 2022
by
Julius Künzel
💬
Browse files
[Qt6] Disable deprecated KNewStuff code (TODO: port)
parent
9d080e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
a16f805f
...
...
@@ -3367,7 +3367,7 @@ void MainWindow::slotResizeItemEnd()
int
MainWindow
::
getNewStuff
(
const
QString
&
configFile
)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
KNS3
::
QtQuickDialogWrapper
dialog
(
configFile
);
const
QList
<
KNSCore
::
EntryInternal
>
entries
=
dialog
.
exec
();
for
(
const
auto
&
entry
:
qAsConst
(
entries
))
{
...
...
@@ -3376,6 +3376,10 @@ int MainWindow::getNewStuff(const QString &configFile)
}
}
return
entries
.
size
();
#else
// TODO: qt6
return
0
;
#endif
}
void
MainWindow
::
slotGetNewKeyboardStuff
(
QComboBox
*
schemesList
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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