AutoTest: Replace obsolete function

Change-Id: I633a554472f0327160fcbdd9be78798c41014a51
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2017-02-08 09:10:33 +01:00
parent ae2c068e68
commit 085ac718d5

View File

@@ -66,7 +66,7 @@ void TestResultDelegate::paint(QPainter *painter, const QStyleOptionViewItem &op
painter->setBrush(opt.palette.highlight().color());
foreground = opt.palette.highlightedText().color();
} else {
painter->setBrush(opt.palette.background().color());
painter->setBrush(opt.palette.window().color());
foreground = opt.palette.text().color();
}
painter->setPen(Qt::NoPen);