summaryrefslogtreecommitdiff
path: root/src/gui
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 /src/gui
parent95b811f2852627f65feaeaf0b67532b00903f31c (diff)
downloadmanaverse-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.gz
manaverse-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.bz2
manaverse-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.xz
manaverse-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.zip
Improve worldselectdialog.
Diffstat (limited to 'src/gui')
-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)