forked from qt-creator/qt-creator
Replace .qmlproject default editor with the .qml one
Extend logic for mimetype matching in QmlJsEditor: Also handle sub-mimetypes like x-application-qmlproject, which extends x-application-qml.
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Constants {
|
||||
|
||||
const char *const PROJECTCONTEXT = "QmlProject.ProjectContext";
|
||||
const char *const LANG_QML = "QML";
|
||||
const char *const QMLMIMETYPE = "text/x-qml-project"; // ### FIXME
|
||||
const char *const QMLMIMETYPE = "application/x-qmlproject";
|
||||
|
||||
const char *const QMLRUNCONFIGURATION = "QmlProject.QmlLocalApplicationRunConfiguration";
|
||||
const char *const MAKESTEP = "QmlProject.QmlMakeStep";
|
||||
|
||||
Reference in New Issue
Block a user