From 4816faf2f6baa16a4af7c33db56360bfbb41e664 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 22:33:58 +0300 Subject: remove pure functions from overrided members in shortcutcontainer. --- src/gui/widgets/shortcutcontainer.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h index 45078f870..50fc9948f 100644 --- a/src/gui/widgets/shortcutcontainer.h +++ b/src/gui/widgets/shortcutcontainer.h @@ -66,17 +66,23 @@ class ShortcutContainer : public gcn::Widget, /** * Handles mouse when dragged. */ - virtual void mouseDragged(gcn::MouseEvent &event) override = 0; + virtual void mouseDragged(gcn::MouseEvent &event) override + { + } /** * Handles mouse when pressed. */ - virtual void mousePressed(gcn::MouseEvent &event) override = 0; + virtual void mousePressed(gcn::MouseEvent &event) override + { + } /** * Handles mouse release. */ - virtual void mouseReleased(gcn::MouseEvent &event) override = 0; + virtual void mouseReleased(gcn::MouseEvent &event) override + { + } int getMaxItems() const A_WARN_UNUSED { return mMaxItems; } -- cgit v1.2.3-70-g09d2