Commit 2c619451 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix warning about different types used in comparison



Clang complains about this.

Change-Id: I7c035fe09a76ce57089d3f6dbf72eea96d31435a
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 1f99b507
......@@ -965,7 +965,7 @@ InformationChangedCommand NodeInstanceServer::createAllInformationChangedCommand
static bool supportedVariantType(QVariant::Type type)
{
return type < int(QVariant::UserType) && type != QMetaType::QObjectStar && type != QVariant::Icon;
return type < int(QVariant::UserType) && type != int(QMetaType::QObjectStar) && type != QVariant::Icon;
}
ValuesChangedCommand NodeInstanceServer::createValuesChangedCommand(const QList<ServerNodeInstance> &instanceList) const
......
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