QmlDesigner: Fix qbs build and building with Qt6.2

Change-Id: Ic114c9eb830eed5cf0bef890007408694453791e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Christian Stenger
2023-05-23 09:26:30 +02:00
parent 8e7ad13ad2
commit 590a6904b1
6 changed files with 52 additions and 73 deletions

View File

@@ -248,7 +248,7 @@ bool QmlProject::allowOnlySingleProject()
{
QSettings *settings = Core::ICore::settings();
auto key = "QML/Designer/AllowMultipleProjects";
return !settings->value(key, false).toBool();
return !settings->value(QString::fromUtf8(key), false).toBool();
}
} // namespace QmlProjectManager