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
a7fc91db
Commit
a7fc91db
authored
May 26, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix crash dropping an effect on the clip monitor
parent
006c7a17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitorproxy.cpp
View file @
a7fc91db
...
...
@@ -471,7 +471,7 @@ void MonitorProxy::addEffect(const QString &effectData, const QString &effectSou
QStringList
effectInfo
=
effectSource
.
split
(
QLatin1Char
(
'-'
));
effectInfo
.
prepend
(
effectData
);
if
(
m_clipId
>
-
1
)
{
pCore
->
bin
()
->
slotAddEffect
(
QString
::
number
(
m_clipId
)
,
effectInfo
);
QMetaObject
::
invokeMethod
(
pCore
->
bin
()
,
"
slotAddEffect
"
,
Qt
::
QueuedConnection
,
Q_ARG
(
QString
,
QString
::
number
(
m_clipId
)),
Q_ARG
(
QStringList
,
effectInfo
)
)
;
}
else
{
// Dropped in project monitor
emit
addTimelineEffect
(
effectInfo
);
...
...
Write
Preview
Supports
Markdown
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