Commit 357ebcdc authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix another char* to QVariant issue

parent d54b0a44
Pipeline #244087 failed with stage
in 3 minutes and 34 seconds
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment