forked from qt-creator/qt-creator
QmlJsEditor: Use the "Design" file icon overlay for .ui.qml files
Change-Id: I4f324c7a839b6f58cdee028dd9c147384a56a3dd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -211,6 +211,8 @@ QmlJSEditorPluginPrivate::QmlJSEditorPluginPrivate()
|
||||
contextMenu->addAction(cmd);
|
||||
|
||||
FileIconProvider::registerIconOverlayForSuffix(ProjectExplorer::Constants::FILEOVERLAY_QML, "qml");
|
||||
FileIconProvider::registerIconOverlayForMimeType(ProjectExplorer::Constants::FILEOVERLAY_UI,
|
||||
"application/x-qt.ui+qml");
|
||||
|
||||
connect(EditorManager::instance(), &EditorManager::currentEditorChanged,
|
||||
this, &QmlJSEditorPluginPrivate::currentEditorChanged);
|
||||
|
||||
Reference in New Issue
Block a user