forked from qt-creator/qt-creator
Some more Qt deprecation
s/type/typeId/ Change-Id: I403af524146f0582709c1264e7517d8769dd723b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user