summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.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/setup_theme.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/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index 4715eacf0..850068fd9 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -60,7 +60,7 @@ public:
Theme::fillSkinsList(mNames);
}
- virtual ~ThemesModel()
+ ~ThemesModel()
{ }
};
@@ -71,7 +71,7 @@ public:
NamesModel()
{ Theme::fillFontsList(mNames); }
- virtual ~FontsModel()
+ ~FontsModel()
{ }
};
@@ -116,13 +116,13 @@ const char *SIZE_NAME[maxFontSizes] =
class FontSizeChoiceListModel final : public gcn::ListModel
{
public:
- virtual ~FontSizeChoiceListModel()
+ ~FontSizeChoiceListModel()
{ }
- virtual int getNumberOfElements() override A_WARN_UNUSED
+ int getNumberOfElements() override A_WARN_UNUSED
{ return maxFontSizes; }
- virtual std::string getElementAt(int i) override A_WARN_UNUSED
+ std::string getElementAt(int i) override A_WARN_UNUSED
{
if (i >= getNumberOfElements() || i < 0)
return "???";
@@ -193,7 +193,7 @@ public:
A_DELETE_COPY(LangListModel)
- virtual ~LangListModel()
+ ~LangListModel()
{
for (int f = 0; f < langs_count; f ++)
{