summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 22:33:58 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit4816faf2f6baa16a4af7c33db56360bfbb41e664 (patch)
tree8f63769a95646da720809687c4a054f01ce26246 /src/gui
parent43c3aff88f86612b44e1f4789f4f35b2599df84f (diff)
downloadmanaverse-4816faf2f6baa16a4af7c33db56360bfbb41e664.tar.gz
manaverse-4816faf2f6baa16a4af7c33db56360bfbb41e664.tar.bz2
manaverse-4816faf2f6baa16a4af7c33db56360bfbb41e664.tar.xz
manaverse-4816faf2f6baa16a4af7c33db56360bfbb41e664.zip
remove pure functions from overrided members in shortcutcontainer.
Diffstat (limited to 'src/gui')
-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; }