From 2770837adc4992fe586bfe4c4878689f5de7158b Mon Sep 17 00:00:00 2001 From: Rodrigo Oliva Date: Fri, 7 Feb 2020 14:41:35 +0100 Subject: [PATCH] Added missing overrides. (#113) --- src/DockManager.h | 2 +- src/FloatingDockContainer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.