QmlDesigner.NodeInstances: Fix warning

Change-Id: Iddb38f814fe21c579b1589601879dbc90f690874
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2012-09-25 15:27:58 +02:00
parent 9e7a8e4118
commit f252d77e9a
@@ -966,7 +966,7 @@ InformationChangedCommand NodeInstanceServer::createAllInformationChangedCommand
static bool supportedVariantType(int type)
{
return type < QVariant::UserType && type != QMetaType::QObjectStar;
return type < int(QVariant::UserType) && type != QMetaType::QObjectStar;
}
ValuesChangedCommand NodeInstanceServer::createValuesChangedCommand(const QList<ServerNodeInstance> &instanceList) const