summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_video.cpp
diff options
context:
space:
mode:
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 "???";