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
db528d58
Commit
db528d58
authored
Nov 20, 2022
by
Julius Künzel
💬
Browse files
Better error message in some cases of preview render failure
parent
7df0008b
Pipeline
#271712
passed with stage
in 13 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/previewmanager.cpp
View file @
db528d58
...
...
@@ -614,7 +614,7 @@ void PreviewManager::processEnded(int, QProcess::ExitStatus status)
const
QString
sceneList
=
m_cacheDir
.
absoluteFilePath
(
QStringLiteral
(
"preview.mlt"
));
QFile
::
remove
(
sceneList
);
if
(
status
==
QProcess
::
QProcess
::
CrashExit
)
{
pCore
->
currentDoc
()
->
previewProgress
(
-
1
);
emit
previewRender
(
0
,
m_errorLog
,
-
1
);
if
(
workingPreview
>=
0
)
{
const
QString
fileName
=
QStringLiteral
(
"%1.%2"
).
arg
(
workingPreview
).
arg
(
m_extension
);
if
(
m_cacheDir
.
exists
(
fileName
))
{
...
...
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