Update the overlay's geometry when we resize the main window

This commit is contained in:
Sergio Martins
2020-09-20 16:37:45 +01:00
parent 8d7627069c
commit af5e11a265
4 changed files with 17 additions and 1 deletions

View File

@@ -116,3 +116,9 @@ SideBar *MainWindow::sideBar(SideBarLocation location) const
{
return d->m_sideBars.value(location);
}
void MainWindow::resizeEvent(QResizeEvent *ev)
{
MainWindowBase::resizeEvent(ev);
onResized(ev); // Also call our own handler, since QtQuick doesn't have resizeEvent()
}