diff --git a/src/DockManager.h b/src/DockManager.h index 68655d6..fc4152e 100644 --- a/src/DockManager.h +++ b/src/DockManager.h @@ -296,7 +296,7 @@ public: * This function always return 0 because the main window is always behind * any floating widget */ - virtual unsigned int zOrderIndex() const; + unsigned int zOrderIndex() const override; /** * Saves the current state of the dockmanger and all its dock widgets diff --git a/src/FloatingDockContainer.h b/src/FloatingDockContainer.h index f3eb499..3536f09 100644 --- a/src/FloatingDockContainer.h +++ b/src/FloatingDockContainer.h @@ -157,7 +157,7 @@ protected: * Moves the widget to a new position relative to the position given when * startFloating() was called */ - void moveFloating(); + void moveFloating() override; /** * Restores the state from given stream.