forked from qt-creator/qt-creator
Git: Fix selection painting artifact in rebase dialog
avoid overlapping columns Task-number: QTCREATORBUG-15770 Change-Id: I68862df8e8da0e850dc54f304279966188801029 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -294,7 +294,7 @@ void IconItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opti
|
||||
painter->save();
|
||||
painter->drawPixmap(o.rect.x(), o.rect.y(), m_icon.pixmap(size.width(), size.height()));
|
||||
painter->restore();
|
||||
o.rect.translate(size.width(), 0);
|
||||
o.rect.setLeft(size.width());
|
||||
}
|
||||
QStyledItemDelegate::paint(painter, o, index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user