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/tabs/setup_video.cpp | |
parent | 7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff) | |
download | manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2 manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip |
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/tabs/setup_video.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_video.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index 7ce063746..2eb0e4ef0 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -67,7 +67,7 @@ class ModeListModel final : public gcn::ListModel /** * Returns the number of elements in container. */ - int getNumberOfElements() override + int getNumberOfElements() override final { return static_cast<int>(mVideoModes.size()); } /** @@ -161,10 +161,10 @@ public: ~OpenGLListModel() { } - int getNumberOfElements() override + int getNumberOfElements() override final { return renderModesListSize; } - std::string getElementAt(int i) override + std::string getElementAt(int i) override final { if (i >= getNumberOfElements() || i < 0) return "???"; |