summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
commit67a349cefcb72c7770b98bf645a7eca35695bb2b (patch)
tree07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/tabs/setup_video.cpp
parent7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff)
downloadplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz
plus-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.cpp6
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 "???";