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:
committed by
craig.p.drummond
parent
4845304c8a
commit
06380c3bc0
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user