qtquick: Move the floating button logic one level up, to the base class

So QtQuick can use the same logic.

Fixes tst_nonDockable too.
This commit is contained in:
Sergio Martins
2020-11-20 15:35:46 +00:00
parent c23d179385
commit 675edfe6db
6 changed files with 55 additions and 18 deletions

View File

@@ -46,7 +46,6 @@ public:
protected:
void paintEvent(QPaintEvent *) override;
void mouseDoubleClickEvent(QMouseEvent *) override;
void updateFloatButton() override;
void updateMaximizeButton() override;
void updateMinimizeButton() override;
void updateAutoHideButton() override;