diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-28 20:25:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-28 20:29:17 +0300 |
commit | 7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa (patch) | |
tree | 9c8ec6b54a8849acd68b03ab4bae169d831b6ade | |
parent | 95b811f2852627f65feaeaf0b67532b00903f31c (diff) | |
download | mv-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.gz mv-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.bz2 mv-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.tar.xz mv-7ca78168dfcfe879f21e99a8a595a8ac82e7d7fa.zip |
Improve worldselectdialog.
-rw-r--r-- | src/gui/worldselectdialog.cpp | 4 |
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) |