From 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 02:34:48 +0300 Subject: Add override keyword to most overriden methods. --- src/gui/itemamountwindow.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/itemamountwindow.h') diff --git a/src/gui/itemamountwindow.h b/src/gui/itemamountwindow.h index fd3ef3ab0..bf8b734fe 100644 --- a/src/gui/itemamountwindow.h +++ b/src/gui/itemamountwindow.h @@ -65,7 +65,7 @@ class ItemAmountWindow final : public Window, /** * Called when receiving actions from widget. */ - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; /** * Sets default amount value. @@ -73,15 +73,16 @@ class ItemAmountWindow final : public Window, void resetAmount(); // MouseListener - void mouseMoved(gcn::MouseEvent &event); - void mouseExited(gcn::MouseEvent &event); + void mouseMoved(gcn::MouseEvent &event) override; + + void mouseExited(gcn::MouseEvent &event) override; /** * Schedules the Item Amount window for deletion. */ void close(); - void keyReleased(gcn::KeyEvent &keyEvent); + void keyReleased(gcn::KeyEvent &keyEvent) override; /** * Creates the dialog, or bypass it if there aren't enough items. -- cgit v1.2.3-60-g2f50