forked from qt-creator/qt-creator
QmlDesigner: Fix compilation
Amends 13789ce2f9.
Drop superfluous toStdString() conversions when operating on
QByteArrays.
Change-Id: I90d9a3617036063dc1276a130dd4a5056e12eb28
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -36,8 +36,8 @@ ChooseFromPropertyListFilter::ChooseFromPropertyListFilter(const NodeMetaInfo &i
|
||||
{
|
||||
TypeName typeName = insertInfo.typeName();
|
||||
TypeName superClass = insertInfo.directSuperClass().typeName();
|
||||
TypeName nodePackage = insertInfo.typeName().replace(insertInfo.simplifiedTypeName().toStdString(), "");
|
||||
TypeName targetPackage = parentInfo.typeName().replace(parentInfo.simplifiedTypeName().toStdString(), "");
|
||||
TypeName nodePackage = insertInfo.typeName().replace(insertInfo.simplifiedTypeName(), "");
|
||||
TypeName targetPackage = parentInfo.typeName().replace(parentInfo.simplifiedTypeName(), "");
|
||||
if (!nodePackage.contains(targetPackage))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user