From 124e28787a66fc1ae882afbb5711b08620b51563 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Apr 2015 12:26:23 +0300 Subject: Remove useless virtual keywords. --- src/gui/widgets/shortcutcontainer.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/widgets/shortcutcontainer.h') diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h index d7870490f..e10d91f3c 100644 --- a/src/gui/widgets/shortcutcontainer.h +++ b/src/gui/widgets/shortcutcontainer.h @@ -51,34 +51,34 @@ class ShortcutContainer notfinal : public Widget, /** * Draws the shortcuts */ - virtual void draw(Graphics *graphics) override = 0; + void draw(Graphics *graphics) override = 0; /** * Invoked when a widget changes its size. This is used to determine * the new height of the container. */ - virtual void widgetResized(const Event &event) override final; + void widgetResized(const Event &event) override final; - virtual void widgetMoved(const Event& event) override final; + void widgetMoved(const Event& event) override final; /** * Handles mouse when dragged. */ - virtual void mouseDragged(MouseEvent &event A_UNUSED) override + void mouseDragged(MouseEvent &event A_UNUSED) override { } /** * Handles mouse when pressed. */ - virtual void mousePressed(MouseEvent &event A_UNUSED) override + void mousePressed(MouseEvent &event A_UNUSED) override { } /** * Handles mouse release. */ - virtual void mouseReleased(MouseEvent &event A_UNUSED) override + void mouseReleased(MouseEvent &event A_UNUSED) override { } -- cgit v1.2.3-70-g09d2