summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shortcutcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.h')
-rw-r--r--src/gui/widgets/shortcutcontainer.h12
1 files changed, 9 insertions, 3 deletions
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; }