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/ministatuswindow.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/gui/ministatuswindow.h') diff --git a/src/gui/ministatuswindow.h b/src/gui/ministatuswindow.h index bfb14c2b8..58eabcf56 100644 --- a/src/gui/ministatuswindow.h +++ b/src/gui/ministatuswindow.h @@ -59,19 +59,20 @@ class MiniStatusWindow final : public Popup, void drawIcons(Graphics *const graphics); - void processEvent(Channels channel, const DepricatedEvent &event); + void processEvent(Channels channel, + const DepricatedEvent &event) override; void updateStatus(); - void logic(); // Updates icons + void logic() override; // Updates icons - void draw(gcn::Graphics *graphics); + void draw(gcn::Graphics *graphics) override; - void mouseMoved(gcn::MouseEvent &mouseEvent); + void mouseMoved(gcn::MouseEvent &mouseEvent) override; - void mousePressed(gcn::MouseEvent &event); + void mousePressed(gcn::MouseEvent &event) override; - void mouseExited(gcn::MouseEvent &event); + void mouseExited(gcn::MouseEvent &event) override; void showBar(const std::string &name, const bool visible); -- cgit v1.2.3-70-g09d2