Remove unneeded FrameOptions argument from createFrame()

It's passed to the controller, the view doesn't need it.
This commit is contained in:
Sergio Martins
2022-06-04 20:08:26 +01:00
parent 84561a9d67
commit 9332eb3bf8
6 changed files with 6 additions and 11 deletions

View File

@@ -60,7 +60,7 @@ public:
Controllers::DockWidget::LayoutSaverOptions = {},
Qt::WindowFlags = {}) const override;
View *createFrame(Controllers::Frame *, View *parent, FrameOptions options = FrameOption_None) const override;
View *createFrame(Controllers::Frame *, View *parent) const override;
View *createTitleBar(Controllers::TitleBar *, Controllers::Frame *) const override;
View *createTitleBar(Controllers::TitleBar *, Controllers::FloatingWindow *) const override;
View *createTabWidget(Controllers::Stack *, Controllers::Frame *parent) const override;