Commit bd1a922b authored by Kai Koehne's avatar Kai Koehne Committed by Fawzi Mohamed

Fix detection of language in QmlJSModelManagerInterface

Change-Id: Icdc458b7deab5903fd997051947224f9c8d26945
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent f5dc6bed
......@@ -777,7 +777,7 @@ void ModelManagerInterface::parseLoop(QSet<QString> &scannedPaths,
continue;
}
if (language == Language::Qml
&& (mainLanguage == Language::QmlQtQuick1 || Language::QmlQtQuick2))
&& (mainLanguage == Language::QmlQtQuick1 || mainLanguage == Language::QmlQtQuick2))
language = mainLanguage;
QString contents;
int documentRevision = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment