QmlDesigner: Fix deprication warnings

Change-Id: I98ca679131776665a148f1fd3138f573667666ab
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2024-11-28 11:51:21 +01:00
committed by Thomas Hartmann
parent edb055fa78
commit 0c7986ecc3

View File

@@ -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();
}