forked from qt-creator/qt-creator
Fix warnings
Change-Id: I142453a6707c252ab9c311573c329d24d85cf2ab Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user