diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2017-12-13 15:03:57 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2017-12-14 14:44:17 +0000 |
commit | f8d15c39401d5789dad87208d3e88498434f038e (patch) | |
tree | 3f0b33acde28d1a9b02d8f50d7f242176ad236c7 /src | |
parent | 7a7123b1bc09c95b10eb1b2412669ed7c66a2e19 (diff) | |
download | qt-creator-f8d15c39401d5789dad87208d3e88498434f038e.tar.gz |
QmlProjectManager: Re-use folder "qml" icon overly from ProjectExplorer
The one in ProjectExplorer does the same except that it also has a @2x
variant, thus looks less ugly on HighDPI.
Change-Id: Ic6faa8fd48b73cfe0b94eba776433fa12b8e0b09
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qmlprojectmanager/images/qmlfolder.png | bin | 231 -> 0 bytes | |||
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlproject.qrc | 1 | ||||
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectnodes.cpp | 2 |
3 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmlprojectmanager/images/qmlfolder.png b/src/plugins/qmlprojectmanager/images/qmlfolder.png Binary files differdeleted file mode 100644 index c94f9bc76e..0000000000 --- a/src/plugins/qmlprojectmanager/images/qmlfolder.png +++ /dev/null diff --git a/src/plugins/qmlprojectmanager/qmlproject.qrc b/src/plugins/qmlprojectmanager/qmlproject.qrc index c35d2ba716..8d3bbc29af 100644 --- a/src/plugins/qmlprojectmanager/qmlproject.qrc +++ b/src/plugins/qmlprojectmanager/qmlproject.qrc @@ -1,6 +1,5 @@ <RCC> <qresource prefix="/qmlproject"> - <file>images/qmlfolder.png</file> <file>images/qmlproject.png</file> </qresource> </RCC> diff --git a/src/plugins/qmlprojectmanager/qmlprojectnodes.cpp b/src/plugins/qmlprojectmanager/qmlprojectnodes.cpp index 10d804dfa8..9fcbe3a305 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectnodes.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectnodes.cpp @@ -42,7 +42,7 @@ QmlProjectNode::QmlProjectNode(QmlProject *project) : ProjectNode(project->proje { setDisplayName(project->projectFilePath().toFileInfo().completeBaseName()); - static QIcon qmlProjectIcon = Core::FileIconProvider::directoryIcon(QLatin1String(":/qmlproject/images/qmlfolder.png")); + static QIcon qmlProjectIcon = Core::FileIconProvider::directoryIcon(":/projectexplorer/images/fileoverlay_qml.png"); setIcon(qmlProjectIcon); } |