forked from qt-creator/qt-creator
qmldesigner: no need to use QString
Change-Id: Ia60a0ef4d802a87cb8b7743b678d224c83ba2234 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -650,7 +650,7 @@ PropertyName NodeMetaInfoPrivate::defaultPropertyName() const
|
||||
|
||||
static inline TypeName stringIdentifier( const TypeName &type, int maj, int min)
|
||||
{
|
||||
return type + QString::number(maj).toLatin1() + '_' + QString::number(min).toLatin1();
|
||||
return type + QByteArray::number(maj) + '_' + QByteArray::number(min);
|
||||
}
|
||||
|
||||
NodeMetaInfoPrivate::Pointer NodeMetaInfoPrivate::create(Model *model, const TypeName &type, int major, int minor)
|
||||
|
Reference in New Issue
Block a user