mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
Rollupwidgets: Handle child layout requests
This commit is contained in:
parent
ec78344f88
commit
081696f3a9
@ -373,6 +373,10 @@ bool RollupContents::event(QEvent* event)
|
||||
((QChildEvent*)event)->child()->removeEventFilter(this);
|
||||
arrangeRollups();
|
||||
}
|
||||
else if (event->type() == QEvent::LayoutRequest)
|
||||
{
|
||||
arrangeRollups();
|
||||
}
|
||||
|
||||
return QWidget::event(event);
|
||||
}
|
||||
|
@ -576,6 +576,10 @@ bool RollupWidget::event(QEvent* event)
|
||||
((QChildEvent*)event)->child()->removeEventFilter(this);
|
||||
arrangeRollups();
|
||||
}
|
||||
else if (event->type() == QEvent::LayoutRequest)
|
||||
{
|
||||
arrangeRollups();
|
||||
}
|
||||
|
||||
return QWidget::event(event);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user