AutoTest: Unify background color of results pane

Change-Id: I0868fe35414a4215cff2f5f6b541aada91c03a39
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2017-02-06 12:02:24 +01:00
parent 183cd8ce99
commit 8415a7984c

View File

@@ -107,6 +107,9 @@ TestResultsPane::TestResultsPane(QObject *parent) :
m_treeView->setHeaderHidden(true);
m_treeView->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
m_treeView->setContextMenuPolicy(Qt::CustomContextMenu);
pal = m_treeView->palette();
pal.setColor(QPalette::Base, pal.window().color());
m_treeView->setPalette(pal);
m_model = new TestResultModel(this);
m_filterModel = new TestResultFilterModel(m_model, this);
m_filterModel->setDynamicSortFilter(true);