Commit 2a9cde94 authored by Fawzi Mohamed's avatar Fawzi Mohamed

qmljs: adding Qml to companion lanaguages of Unknown

Correctly collect qml files when the language is not specified.

Change-Id: Ieebfc543108ddb716479ac4524ef14063dd225ea
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 5b9e0bde
......@@ -159,7 +159,8 @@ QList<Language::Enum> Document::companionLanguages(Language::Enum language)
break;
case Language::Unknown:
langs << Language::JavaScript << Language::Json << Language::QmlProject << Language:: QmlQbs
<< Language::QmlTypeInfo << Language::QmlQtQuick1 << Language::QmlQtQuick2 ;
<< Language::QmlTypeInfo << Language::QmlQtQuick1 << Language::QmlQtQuick2
<< Language::Qml;
break;
}
return langs;
......
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