forked from qt-creator/qt-creator
New file overlay icons
Change-Id: Icba67a1404b6e4604aef56def00bfe2098b8c8fe Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 254 B |
@@ -61,8 +61,6 @@ SOURCES += \
|
||||
qmljswrapinloader.cpp \
|
||||
qmljseditordocument.cpp
|
||||
|
||||
RESOURCES += qmljseditor.qrc
|
||||
|
||||
FORMS += \
|
||||
quicktoolbarsettingspage.ui \
|
||||
qmljscomponentnamedialog.ui
|
||||
|
||||
@@ -28,7 +28,6 @@ QtcPlugin {
|
||||
"qmljscomponentnamedialog.ui",
|
||||
"qmljseditor.cpp",
|
||||
"qmljseditor.h",
|
||||
"qmljseditor.qrc",
|
||||
"qmljseditor_global.h",
|
||||
"qmljseditorconstants.h",
|
||||
"qmljseditordocument.cpp",
|
||||
@@ -72,7 +71,6 @@ QtcPlugin {
|
||||
"quicktoolbarsettingspage.cpp",
|
||||
"quicktoolbarsettingspage.h",
|
||||
"quicktoolbarsettingspage.ui",
|
||||
"images/qmlfile.png",
|
||||
]
|
||||
|
||||
Export {
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<RCC>
|
||||
<qresource prefix="/qmljseditor">
|
||||
<file>images/qmlfile.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
@@ -50,6 +50,7 @@
|
||||
#include <coreplugin/actionmanager/command.h>
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <projectexplorer/taskhub.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/json.h>
|
||||
@@ -186,7 +187,7 @@ bool QmlJSEditorPlugin::initialize(const QStringList & /*arguments*/, QString *e
|
||||
|
||||
errorMessage->clear();
|
||||
|
||||
FileIconProvider::registerIconOverlayForSuffix(":/qmljseditor/images/qmlfile.png", "qml");
|
||||
FileIconProvider::registerIconOverlayForSuffix(ProjectExplorer::Constants::FILEOVERLAY_QML, "qml");
|
||||
|
||||
registerQuickFixes(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user