Some more Qt deprecation

s/type/typeId/

Change-Id: I403af524146f0582709c1264e7517d8769dd723b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-06-09 09:17:02 +02:00
parent ac77e56f3a
commit 37d2240dfc
8 changed files with 10 additions and 10 deletions

View File

@@ -255,7 +255,7 @@ void QuickToolBar::setProperty(const QString &propertyName, const QVariant &valu
{
QString stringValue = value.toString();
if (value.type() == QVariant::Color)
if (value.typeId() == QVariant::Color)
stringValue = QLatin1Char('\"') + value.toString() + QLatin1Char('\"');
if (cast<UiObjectDefinition*>(m_node) || cast<UiObjectBinding*>(m_node)) {