From 46d4113a6ee037720d0f72d991990f1e814a42e3 Mon Sep 17 00:00:00 2001 From: Olivier Goffart <olivier.goffart@nokia.com> Date: Thu, 5 Aug 2010 14:42:03 +0200 Subject: [PATCH] Fix open QML file when the kate QML highlighter file are installed Apparently creator uses the kate highlighter file to find the mumetype of a file. But kate annotate qml file with text/x-qml instead of application/x-qml that we expect --- src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml b/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml index 4f17f907ecf..044d71fbf64 100644 --- a/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml +++ b/src/plugins/qmljseditor/QmlJSEditor.mimetypes.xml @@ -1,6 +1,7 @@ <?xml version="1.0"?> <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> <mime-type type="application/x-qml"> + <alias type="text/x-qml"/> <sub-class-of type="text/plain"/> <comment>QML file</comment> <glob pattern="*.qml"/> -- GitLab