Fix a GroupView crash that was triggered by the FTB tracking

This commit is contained in:
Jan Dalheimer 2014-03-03 19:12:48 +01:00
parent 3133bb3ea0
commit 211a72e144

View File

@ -429,6 +429,8 @@ void GroupView::mouseDoubleClickEvent(QMouseEvent *event)
void GroupView::paintEvent(QPaintEvent *event) void GroupView::paintEvent(QPaintEvent *event)
{ {
executeDelayedItemsLayout();
QPainter painter(this->viewport()); QPainter painter(this->viewport());
QStyleOptionViewItemV4 option(viewOptions()); QStyleOptionViewItemV4 option(viewOptions());