diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-10-17 18:53:28 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-10-18 08:11:42 +0000 |
commit | e902980ddeedce903c42cbf519382265670df9e3 (patch) | |
tree | 0ae3c10373d7bef76318439813ba8e984d9606ac /src/plugins/cpaster/protocol.cpp | |
parent | 371b2bbbab6b4bdc300ef7c3d4ce9c504ac25472 (diff) | |
download | qt-creator-e902980ddeedce903c42cbf519382265670df9e3.tar.gz |
Treat .ui.qml mime type the same as .qml
Right now, the qmake project manager offers a "Build" context menu entry
for .ui.qml files and various other things are off because the mime
types are different.
Change-Id: Icc966e56513b9c5aed05f929dc8cb728ed408723
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/cpaster/protocol.cpp')
-rw-r--r-- | src/plugins/cpaster/protocol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpaster/protocol.cpp b/src/plugins/cpaster/protocol.cpp index 8b745006d2..e80b8fd526 100644 --- a/src/plugins/cpaster/protocol.cpp +++ b/src/plugins/cpaster/protocol.cpp @@ -95,6 +95,7 @@ Protocol::ContentType Protocol::contentType(const QString &mt) || mt == QLatin1String(CppTools::Constants::OBJECTIVE_CPP_SOURCE_MIMETYPE)) return Cpp; if (mt == QLatin1String(QmlJSTools::Constants::QML_MIMETYPE) + || mt == QLatin1String(QmlJSTools::Constants::QMLUI_MIMETYPE) || mt == QLatin1String(QmlJSTools::Constants::QMLPROJECT_MIMETYPE) || mt == QLatin1String(QmlJSTools::Constants::QBS_MIMETYPE) || mt == QLatin1String(QmlJSTools::Constants::JS_MIMETYPE) |