forked from qt-creator/qt-creator
QmlDesigner: Ancient compiler workaround
Change-Id: I5ec44065023aa200e1e6194a050d2e0fe5328afb Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -114,11 +114,11 @@ ProjectStorageUpdater::Components createComponents(
|
||||
for (const QQmlDirParser::Component &qmlDirParserComponent : qmlDirParserComponents) {
|
||||
if (qmlDirParserComponent.fileName.contains('/'))
|
||||
continue;
|
||||
components.emplace_back(qmlDirParserComponent.fileName,
|
||||
qmlDirParserComponent.typeName,
|
||||
moduleId,
|
||||
qmlDirParserComponent.version.majorVersion(),
|
||||
qmlDirParserComponent.version.minorVersion());
|
||||
components.push_back({qmlDirParserComponent.fileName,
|
||||
qmlDirParserComponent.typeName,
|
||||
moduleId,
|
||||
qmlDirParserComponent.version.majorVersion(),
|
||||
qmlDirParserComponent.version.minorVersion()});
|
||||
}
|
||||
|
||||
return components;
|
||||
|
Reference in New Issue
Block a user