Commit 36a61a94 authored by Alessandro Portale's avatar Alessandro Portale

Git: Fix selection painting artifact in rebase dialog

avoid overlapping columns

Task-number: QTCREATORBUG-15770
Change-Id: I68862df8e8da0e850dc54f304279966188801029
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 034285d0
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment