TabBar controller now stores the current dock widget

It's no longer stored in the view.
This makes it easier for new frontends.
This commit is contained in:
Sergio Martins
2022-08-14 17:34:01 +01:00
parent 4627571f3f
commit 8834f7d75b
11 changed files with 25 additions and 43 deletions

View File

@@ -56,8 +56,6 @@ public:
QRect rectForTab(int index) const override;
void moveTabTo(int from, int to) override;
Controllers::DockWidget *currentDockWidget() const override;
int currentIndex() const override;
Q_INVOKABLE void setCurrentIndex(int index) override;
bool tabsAreMovable() const override;
Stack_qtquick *stackView() const;