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
eecef0db
Commit
eecef0db
authored
Oct 12, 2022
by
Julius Künzel
💬
Browse files
[Qt6] Try to fix build
parent
f50b0b8b
Pipeline
#246565
failed with stage
in 8 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mainwindow.cpp
View file @
eecef0db
...
...
@@ -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
();
}
...
...
src/titler/titlewidget.cpp
View file @
eecef0db
...
...
@@ -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
();
...
...
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