forked from qt-creator/qt-creator
AutoTest: Replace obsolete function
Change-Id: I633a554472f0327160fcbdd9be78798c41014a51 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -66,7 +66,7 @@ void TestResultDelegate::paint(QPainter *painter, const QStyleOptionViewItem &op
|
|||||||
painter->setBrush(opt.palette.highlight().color());
|
painter->setBrush(opt.palette.highlight().color());
|
||||||
foreground = opt.palette.highlightedText().color();
|
foreground = opt.palette.highlightedText().color();
|
||||||
} else {
|
} else {
|
||||||
painter->setBrush(opt.palette.background().color());
|
painter->setBrush(opt.palette.window().color());
|
||||||
foreground = opt.palette.text().color();
|
foreground = opt.palette.text().color();
|
||||||
}
|
}
|
||||||
painter->setPen(Qt::NoPen);
|
painter->setPen(Qt::NoPen);
|
||||||
|
|||||||
Reference in New Issue
Block a user