summaryrefslogtreecommitdiff
path: root/src/gui/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 13:54:12 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 14:41:36 +0300
commit851cc4e95093cb7bd1adce99be95a864d68f8d38 (patch)
tree50096efbfea146de63432ca95d1faacdbd62df80 /src/gui/logindialog.cpp
parent476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff)
downloadmanaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz
manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2
manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz
manaplus-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip
remove useless virtual keywords.
Diffstat (limited to 'src/gui/logindialog.cpp')
-rw-r--r--src/gui/logindialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp
index 9af26b6ae..e4c19e604 100644
--- a/src/gui/logindialog.cpp
+++ b/src/gui/logindialog.cpp
@@ -88,15 +88,15 @@ class UpdateTypeModel final : public gcn::ListModel
A_DELETE_COPY(UpdateTypeModel)
- virtual ~UpdateTypeModel()
+ ~UpdateTypeModel()
{ }
- virtual int getNumberOfElements() override
+ int getNumberOfElements() override
{
return 3;
}
- virtual std::string getElementAt(int i) override
+ std::string getElementAt(int i) override
{
if (i >= getNumberOfElements() || i < 0)
return "???";
@@ -115,17 +115,17 @@ class UpdateListModel final : public gcn::ListModel
A_DELETE_COPY(UpdateListModel)
- virtual ~UpdateListModel()
+ ~UpdateListModel()
{ }
- virtual int getNumberOfElements() override
+ int getNumberOfElements() override
{
if (!mLoginData)
return 0;
return static_cast<int>(mLoginData->updateHosts.size());
}
- virtual std::string getElementAt(int i) override
+ std::string getElementAt(int i) override
{
if (!mLoginData || i >= getNumberOfElements() || i < 0)
return "???";