Commit be639393 authored by Tim Jenssen's avatar Tim Jenssen Committed by Marco Bubke
Browse files

QmlDesigner: no warning at type "binding"



Task-number: QTCREATORBUG-12509
Change-Id: I650d65322aee34b9fb3c559a8a4566f274b324cf
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent e84fbe48
......@@ -193,9 +193,11 @@ QVariant read(const QString &typeStr, const QString &str)
{
int type = QMetaType::type(typeStr.toUtf8().constData());
if (type == 0) {
qWarning() << "Type " << typeStr
<< " is unknown to QMetaType system. Cannot create properly typed QVariant for value "
<< str;
if (typeStr != QStringLiteral("binding")) {
qWarning() << "Type " << typeStr
<< " is unknown to QMetaType system. Cannot create properly typed QVariant for value "
<< str;
}
// Fall back to a QVariant of type String
return QVariant(str);
}
......
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