QmlDesigner: fix for qmlpuppet and Qt 5

Change-Id: Ie199a0e3d8342fb62ff51ec2475134cdf4f9dcee
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
(cherry picked from commit 362b8d989d)
This commit is contained in:
Thomas Hartmann
2012-09-26 13:52:50 +02:00
parent 715e16ead4
commit 4fe44819e6

View File

@@ -961,7 +961,7 @@ InformationChangedCommand NodeInstanceServer::createAllInformationChangedCommand
static bool supportedVariantType(QVariant::Type type)
{
return type < QVariant::UserType && type != QVariant::Icon;
return type < int(QVariant::UserType) && type != QMetaType::QObjectStar && type != QVariant::Icon;
}
ValuesChangedCommand NodeInstanceServer::createValuesChangedCommand(const QList<ServerNodeInstance> &instanceList) const