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
357ebcdc
Commit
357ebcdc
authored
Oct 08, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix another char* to QVariant issue
parent
d54b0a44
Pipeline
#244087
failed with stage
in 3 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/effects/effectstack/model/effectstackmodel.cpp
View file @
357ebcdc
...
...
@@ -1215,7 +1215,7 @@ bool EffectStackModel::checkConsistency()
QVector
<
QPair
<
QString
,
QVariant
>>
params
=
allFilters
[
i
]
->
getAllParameters
();
for
(
const
auto
&
val
:
qAsConst
(
params
))
{
// Check parameters values
if
(
val
.
second
!=
QVariant
(
mltFilter
->
get
(
val
.
first
.
toUtf8
().
constData
())))
{
if
(
val
.
second
.
toString
()
!=
QString
(
mltFilter
->
get
(
val
.
first
.
toUtf8
().
constData
())))
{
qDebug
()
<<
"ERROR: filter "
<<
i
<<
"PARAMETER MISMATCH: "
<<
val
.
first
<<
" = "
<<
val
.
second
<<
" != "
<<
mltFilter
->
get
(
val
.
first
.
toUtf8
().
constData
());
return
false
;
...
...
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