summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2017-12-13 15:03:57 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2017-12-14 14:44:17 +0000
commitf8d15c39401d5789dad87208d3e88498434f038e (patch)
tree3f0b33acde28d1a9b02d8f50d7f242176ad236c7 /src
parent7a7123b1bc09c95b10eb1b2412669ed7c66a2e19 (diff)
downloadqt-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.pngbin231 -> 0 bytes
-rw-r--r--src/plugins/qmlprojectmanager/qmlproject.qrc1
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectnodes.cpp2
3 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmlprojectmanager/images/qmlfolder.png b/src/plugins/qmlprojectmanager/images/qmlfolder.png
deleted file mode 100644
index c94f9bc76e..0000000000
--- a/src/plugins/qmlprojectmanager/images/qmlfolder.png
+++ /dev/null
Binary files differ
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);
}