forked from qt-creator/qt-creator
QmlDesigner: Use QJsonValueConstRef instead of auto
This used to not build on linux. Doesnt seem the case anymore. Change-Id: Ia58d388bfe4f5cc794b29f8e25a9a8d6b3f229c3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -128,7 +128,7 @@ void CompositionNode::parse(const QString &effectName, const QString &qenPath, c
|
||||
|
||||
// parse properties
|
||||
QJsonArray jsonProps = json.value("properties").toArray();
|
||||
for (const auto /*QJsonValueRef*/ &prop : jsonProps) {
|
||||
for (const QJsonValueConstRef &prop : jsonProps) {
|
||||
const auto uniform = new Uniform(effectName, prop.toObject(), qenPath);
|
||||
m_unifomrsModel.addUniform(uniform);
|
||||
m_uniforms.append(uniform);
|
||||
|
||||
Reference in New Issue
Block a user