summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-28 20:25:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-28 20:29:17 +0300
commit7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa (patch)
tree9c8ec6b54a8849acd68b03ab4bae169d831b6ade
parent95b811f2852627f65feaeaf0b67532b00903f31c (diff)
downloadplus-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.gz
plus-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.bz2
plus-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.xz
plus-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.zip
Improve worldselectdialog.
-rw-r--r--src/gui/worldselectdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/worldselectdialog.cpp b/src/gui/worldselectdialog.cpp
index 8fe05e2e6..e8ed35ab2 100644
--- a/src/gui/worldselectdialog.cpp
+++ b/src/gui/worldselectdialog.cpp
@@ -59,12 +59,12 @@ class WorldListModel final : public gcn::ListModel
virtual ~WorldListModel()
{ }
- int getNumberOfElements()
+ int getNumberOfElements() override
{
return static_cast<int>(mWorlds.size());
}
- std::string getElementAt(int i)
+ std::string getElementAt(int i) override
{
const WorldInfo *const si = mWorlds[i];
if (si)