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>
This commit is contained in:
Eike Ziller
2016-09-20 15:59:48 +02:00
parent 29dffc75ab
commit 39555d3b86
10 changed files with 20 additions and 8 deletions

View File

@@ -451,6 +451,12 @@ public:
setObjectName("ProjectNavigation");
setContextMenuPolicy(Qt::CustomContextMenu);
}
// remove branch indicators
void drawBranches(QPainter *, const QRect &, const QModelIndex &) const override
{
return;
}
};