Fix warnings

Change-Id: I142453a6707c252ab9c311573c329d24d85cf2ab
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-07-26 14:50:49 +02:00
parent 1c15ca95a7
commit e4e4ef2629
7 changed files with 29 additions and 29 deletions

View File

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