From 13226c21a99d70dacd26aee69f3982ee72ff431a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 3 Oct 2015 14:39:19 +0200 Subject: Add missing overrides. --- plugingui/layout.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugingui/layout.h') diff --git a/plugingui/layout.h b/plugingui/layout.h index a81f004..9814f7e 100644 --- a/plugingui/layout.h +++ b/plugingui/layout.h @@ -78,7 +78,8 @@ public: //! \brief Set to false to only move the items, not scale them. void setResizeChildren(bool resize_children); - virtual void layout() = 0; + // From Layout: + virtual void layout() override = 0; protected: bool resize_children; @@ -97,7 +98,8 @@ public: void setHAlignment(alignment_t alignment); - virtual void layout(); + // From BoxLayout: + virtual void layout() override; protected: alignment_t align; @@ -116,7 +118,8 @@ public: void setVAlignment(alignment_t alignment); - virtual void layout(); + // From BoxLayout: + virtual void layout() override; protected: alignment_t align; -- cgit v1.2.3