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

@@ -50,6 +50,9 @@ public:
///@brief returns the sidebar for the specified location
SideBar *sideBar(SideBarLocation) const override;
protected:
void resizeEvent(QResizeEvent *) override;
private:
using QMainWindow::setCentralWidget;
void setCentralWidget(QWidget *); // overridden just to make it private