Commit b61417f6 authored by Montel Laurent's avatar Montel Laurent Committed by Nicolas Arnaud-Cormos

Add missing break. Otherwise we will call value = QVariant(str);

Change-Id: I6fbfb0be56a085e69270ffd93bcc36c67c36249e
Reviewed-by: Nicolas Arnaud-Cormos's avatarNicolas Arnaud-Cormos <nicolas@kdab.com>
parent 00dab065
......@@ -234,6 +234,7 @@ QVariant read(int variantType, const QString &str)
break;
case QMetaType::QVector3D:
value = vector3DFromString(str, &conversionOk);
break;
default: {
value = QVariant(str);
value.convert(static_cast<QVariant::Type>(variantType));
......
Markdown is supported
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