forked from qt-creator/qt-creator
Mime types: Fix that some QML files were opened as C++
We registered a mime type "application/x-qml" conflicting with "text/x- qml" from freedesktop.org.xml. The magic matcher of the C++ mime types might kick in, in that case. Task-number: QTCREATORBUG-13994 Change-Id: I5900c233b42681d7b7d3af185d6ff3e1c4166e59 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
namespace QmlJSTools {
|
||||
namespace Constants {
|
||||
|
||||
const char QML_MIMETYPE[] = "application/x-qml"; // separate def also in projectexplorerconstants.h
|
||||
const char QML_MIMETYPE[] = "text/x-qml"; // separate def also in projectexplorerconstants.h
|
||||
const char QBS_MIMETYPE[] = "application/x-qt.qbs+qml";
|
||||
const char QMLPROJECT_MIMETYPE[] = "application/x-qmlproject";
|
||||
const char QMLTYPES_MIMETYPE[] = "application/x-qt.meta-info+qml";
|
||||
|
||||
Reference in New Issue
Block a user