aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/testtreeitemdelegate.cpp
diff options
context:
space:
mode:
authorChristian Stenger <[email protected]>2016-02-23 15:56:52 +0100
committerChristian Stenger <[email protected]>2016-02-26 09:40:16 +0000
commit36f6a5580f128d34d714fedaf4312179751c4aa7 (patch)
tree577a8c544283fcb1f6198eafc1b9c7c8b875ba02 /src/plugins/autotest/testtreeitemdelegate.cpp
parent009eef4e0d8f560bd9439230e234cbf6167893c8 (diff)
AutoTest: Unify handling of test tree items...
...and let specialized items handle its specialization by itself. Change-Id: I988ce3c610bef68933b9102bb39ae4723add3a99 Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/autotest/testtreeitemdelegate.cpp')
-rw-r--r--src/plugins/autotest/testtreeitemdelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testtreeitemdelegate.cpp b/src/plugins/autotest/testtreeitemdelegate.cpp
index e5cc237aa56..9771385c8a4 100644
--- a/src/plugins/autotest/testtreeitemdelegate.cpp
+++ b/src/plugins/autotest/testtreeitemdelegate.cpp
@@ -71,7 +71,7 @@ void TestTreeItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
}
// paint disabled googletests in gray
- if (index.data(StateRole).toInt() & TestTreeItem::Disabled)
+ if (index.data(StateRole).toInt() & GoogleTestTreeItem::Disabled)
opt.palette.setColor(QPalette::Text, QColor(0xa0, 0xa0, 0xa0));
QStyledItemDelegate::paint(painter, opt, index);