forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user