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
ce465115
Commit
ce465115
authored
Nov 21, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix luma incorrectly flagged as missing on Windows
BUG: 461849
FIXED-IN: 22.12.0
parent
28f51df5
Pipeline
#271952
passed with stage
in 10 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/doc/documentchecker.cpp
View file @
ce465115
...
...
@@ -174,7 +174,7 @@ bool DocumentChecker::hasErrorInClips()
filePath
.
prepend
(
root
);
}
if
(
!
QFile
::
exists
(
filePath
))
{
QString
lumaName
=
filePath
.
section
(
QLatin1Char
(
'/'
),
-
1
);
QString
lumaName
=
QFileInfo
(
filePath
).
fileName
(
);
// MLT 7 now generates lumas on the fly for files named luma01.pgm to luma22.pgm, so don't detect these as missing
if
(
lumaName
.
length
()
==
10
&&
lumaName
.
startsWith
(
QLatin1String
(
"luma"
))
&&
lumaName
.
endsWith
(
QLatin1String
(
".pgm"
)))
{
bool
ok
;
...
...
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