summaryrefslogtreecommitdiffstats
path: root/gui/groupview
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-03-03 19:12:48 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-03-03 19:12:48 +0100
commit211a72e14498f9987dadac922312d22199f5c3a0 (patch)
tree314f7fa4b54bdd39f2a1603936b9e111f0be2ad2 /gui/groupview
parent3133bb3ea0be5a3e0e3688db9fb3077a772f53a0 (diff)
downloadMultiMC-211a72e14498f9987dadac922312d22199f5c3a0.tar
MultiMC-211a72e14498f9987dadac922312d22199f5c3a0.tar.gz
MultiMC-211a72e14498f9987dadac922312d22199f5c3a0.tar.lz
MultiMC-211a72e14498f9987dadac922312d22199f5c3a0.tar.xz
MultiMC-211a72e14498f9987dadac922312d22199f5c3a0.zip
Fix a GroupView crash that was triggered by the FTB tracking
Diffstat (limited to 'gui/groupview')
-rw-r--r--gui/groupview/GroupView.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/groupview/GroupView.cpp b/gui/groupview/GroupView.cpp
index 25042d02..5f3e3dec 100644
--- a/gui/groupview/GroupView.cpp
+++ b/gui/groupview/GroupView.cpp
@@ -429,6 +429,8 @@ void GroupView::mouseDoubleClickEvent(QMouseEvent *event)
void GroupView::paintEvent(QPaintEvent *event)
{
+ executeDelayedItemsLayout();
+
QPainter painter(this->viewport());
QStyleOptionViewItemV4 option(viewOptions());