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
f3002dd8
Commit
f3002dd8
authored
Nov 12, 2016
by
Jean-Baptiste Mardelle
Browse files
Fix rendering crash on finish
CCBUG: 371478
parent
d6a8dc1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
renderer/renderjob.cpp
View file @
f3002dd8
...
...
@@ -282,7 +282,7 @@ void RenderJob::slotIsOver(QProcess::ExitStatus status, bool isWritable)
m_kdenliveinterface
->
callWithArgumentList
(
QDBus
::
NoBlock
,
QStringLiteral
(
"setRenderingFinished"
),
m_dbusargs
);
}
m_logstream
<<
"Rendering of "
<<
m_dest
<<
" finished"
<<
endl
;
if
(
!
m_dualpass
&&
!
m_player
.
isEmpty
(
))
{
if
(
!
m_dualpass
&&
m_player
.
length
()
>
3
&&
m_player
.
contains
(
QLatin1Char
(
' '
)
))
{
QStringList
args
=
m_player
.
split
(
QLatin1Char
(
' '
));
QString
exec
=
args
.
takeFirst
();
// Decode url
...
...
@@ -290,6 +290,7 @@ void RenderJob::slotIsOver(QProcess::ExitStatus status, bool isWritable)
args
<<
url
;
QProcess
::
startDetached
(
exec
,
args
);
}
m_logstream
.
flush
();
if
(
m_dualpass
)
{
emit
renderingFinished
();
deleteLater
();
...
...
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