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

[Qt6] Try to fix build

parent f50b0b8b
Pipeline #246565 failed with stage
in 8 minutes and 14 seconds
......@@ -2376,7 +2376,11 @@ void MainWindow::slotEditKeys()
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5, 98, 0)
KNSWidgets::Action *downloadKeybordSchemes =
new KNSWidgets::Action(i18n("Download New Keyboard Schemes…"), QStringLiteral(":data/kdenlive_keyboardschemes.knsrc"), this);
#if KNEWSTUFFWIDGETS_ENABLE_DEPRECATED_SINCE(5, 90)
connect(downloadKeybordSchemes, &KNSWidgets::Action::dialogFinished, this, [&](const KNS3::Entry::List &changedEntries) {
#else
connect(downloadKeybordSchemes, &KNSWidgets::Action::dialogFinished, this, [&](const QList<KNSCore::Entry> &changedEntries) {
#endif
if (changedEntries.count() > 0) {
dialog.refreshSchemes();
}
......
......@@ -422,7 +422,11 @@ TitleWidget::TitleWidget(const QUrl &url, QString projectTitlePath, Monitor *mon
m_buttonDownload->setShortcut(Qt::ALT | Qt::Key_D);
m_buttonDownload->setToolTip(i18n("Download New Title Templates...") + QLatin1Char(' ') + m_buttonDownload->shortcut().toString());
m_toolbar->addAction(m_buttonDownload);
#if KNEWSTUFFWIDGETS_ENABLE_DEPRECATED_SINCE(5, 90)
connect(m_buttonDownload, &KNSWidgets::Action::dialogFinished, this, [&](const KNS3::Entry::List &changedEntries) {
#else
connect(m_buttonDownload, &KNSWidgets::Action::dialogFinished, this, [&](const QList<KNSCore::Entry> &changedEntries) {
#endif
if (changedEntries.count() > 0) {
refreshTitleTemplates(m_projectTitlePath);
refreshTemplateBoxContents();
......
Supports Markdown
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