diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
commit | 67a349cefcb72c7770b98bf645a7eca35695bb2b (patch) | |
tree | 07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/avatarlistbox.h | |
parent | 7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff) | |
download | mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2 mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip |
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.h')
-rw-r--r-- | src/gui/widgets/avatarlistbox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/avatarlistbox.h b/src/gui/widgets/avatarlistbox.h index 8760fab73..c208824e7 100644 --- a/src/gui/widgets/avatarlistbox.h +++ b/src/gui/widgets/avatarlistbox.h @@ -37,7 +37,7 @@ class AvatarListModel : public gcn::ListModel public: virtual Avatar *getAvatarAt(const int i) A_WARN_UNUSED = 0; - std::string getElementAt(int i) override A_WARN_UNUSED + std::string getElementAt(int i) override final A_WARN_UNUSED { return getAvatarAt(i)->getName(); } }; @@ -53,13 +53,13 @@ public: /** * Draws the list box. */ - void draw(gcn::Graphics *gcnGraphics) override; + void draw(gcn::Graphics *gcnGraphics) override final; - void mousePressed(gcn::MouseEvent &event) override; + void mousePressed(gcn::MouseEvent &event) override final; - void mouseReleased(gcn::MouseEvent &event A_UNUSED) override; + void mouseReleased(gcn::MouseEvent &event A_UNUSED) override final; - void optionChanged(const std::string &value) override; + void optionChanged(const std::string &value) override final; private: int mImagePadding; |