diff options
author | Eike Ziller <eike.ziller@qt.io> | 2016-09-20 15:59:48 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2016-09-21 10:02:22 +0000 |
commit | 39555d3b86822e9610ddba1cd80befabcacdbf6f (patch) | |
tree | 1867bd9347a45179ca17e4f9d484ffe264b940a5 /src/plugins/projectexplorer/targetsettingspanel.cpp | |
parent | 29dffc75ab354234940471b7e74af51943a7bcd6 (diff) |
Projects mode: Make plus icon dark and get rid of branch indicators
The PLUS icon was actually PLUS_TOOLBAR, so name it that way and add an
actual PLUS icon.
Remove the drawing of the branch indicators from the kit tree view by
overriding the method that does it.
Change-Id: I395e5187c1738faaee3e122b4f3f359261b514d7
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/targetsettingspanel.cpp')
-rw-r--r-- | src/plugins/projectexplorer/targetsettingspanel.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp index 57dddd97c5..7af5760700 100644 --- a/src/plugins/projectexplorer/targetsettingspanel.cpp +++ b/src/plugins/projectexplorer/targetsettingspanel.cpp @@ -355,7 +355,7 @@ public: return Utils::Icons::ERROR.icon(); if (k->hasWarning()) return Utils::Icons::WARNING.icon(); - break; + return Utils::Icons::EMPTY14.icon(); } case Qt::TextColorRole: { @@ -561,6 +561,9 @@ public: case ActiveItemRole: return QVariant::fromValue<TreeItem *>(const_cast<BuildOrRunItem *>(this)); + case Qt::DecorationRole: + return Utils::Icons::EMPTY14.icon(); + default: break; } |