Remove faded icons from background of sync dialog views (as these did not render correctly with all styles), and enforce alternate row colours - as per other views.

This commit is contained in:
craig.p.drummond
2012-10-01 18:26:33 +00:00
committed by craig.p.drummond
parent 4845304c8a
commit 06380c3bc0
6 changed files with 3 additions and 30 deletions

View File

@@ -167,14 +167,3 @@ void TreeView::correctSelection()
selectionModel()->select(s, QItemSelectionModel::SelectCurrent);
}
void TreeView::paintEvent(QPaintEvent *e)
{
if (!pixmap.isNull()) {
QPainter p(viewport());
p.setOpacity(0.15);
p.drawPixmap((width() - pixmap.width())/2, (height() - pixmap.height())/2, pixmap);
}
QTreeView::paintEvent(e);
}