forked from qt-creator/qt-creator
QmlDesigner: Fix deprication warnings
Change-Id: I98ca679131776665a148f1fd3138f573667666ab Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
edb055fa78
commit
0c7986ecc3
@@ -1189,7 +1189,7 @@ InformationChangedCommand NodeInstanceServer::createAllInformationChangedCommand
|
||||
|
||||
static bool supportedVariantType(int type)
|
||||
{
|
||||
return (type < int(QVariant::UserType) && type != QMetaType::QObjectStar
|
||||
return (type < int(QMetaType::User) && type != QMetaType::QObjectStar
|
||||
&& type != QMetaType::QModelIndex && type != QMetaType::VoidStar)
|
||||
|| type == QMetaType::fromType<Enumeration>().id();
|
||||
}
|
||||
|
Reference in New Issue
Block a user