diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
commit | 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch) | |
tree | aebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/gui/widgets/tabs | |
parent | 4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff) | |
download | plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2 plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip |
Add missing override keywords.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/chat/partytab.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_relations.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setuptabscroll.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/socialguildtab.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/socialguildtab2.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/socialpartytab.h | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/partytab.h b/src/gui/widgets/tabs/chat/partytab.h index bb7504bc2..7de669e7f 100644 --- a/src/gui/widgets/tabs/chat/partytab.h +++ b/src/gui/widgets/tabs/chat/partytab.h @@ -43,7 +43,7 @@ class PartyTab notfinal : public ChatTab, void playNewMessageSound() const override final; - void optionChanged(const std::string &value); + void optionChanged(const std::string &value) override final; protected: void handleInput(const std::string &msg) override final; diff --git a/src/gui/widgets/tabs/setup_relations.h b/src/gui/widgets/tabs/setup_relations.h index 14ae74575..5a023be9f 100644 --- a/src/gui/widgets/tabs/setup_relations.h +++ b/src/gui/widgets/tabs/setup_relations.h @@ -56,9 +56,9 @@ class Setup_Relations final : public SetupTab, void action(const ActionEvent &event) override final; - void updatedPlayer(const std::string &name); + void updatedPlayer(const std::string &name) override final; - void updateAll(); + void updateAll() override final; void externalUpdated() override final; diff --git a/src/gui/widgets/tabs/setuptabscroll.h b/src/gui/widgets/tabs/setuptabscroll.h index 5f7a51005..8c2c2f590 100644 --- a/src/gui/widgets/tabs/setuptabscroll.h +++ b/src/gui/widgets/tabs/setuptabscroll.h @@ -67,7 +67,7 @@ class SetupTabScroll notfinal : public SetupTab void reread(const std::string &name); - void clear(); + void clear() override final; const std::set<SetupItem*> &getAllItems() const { return mAllItems; } diff --git a/src/gui/widgets/tabs/socialguildtab.h b/src/gui/widgets/tabs/socialguildtab.h index 1c63a8dde..4c966b2ca 100644 --- a/src/gui/widgets/tabs/socialguildtab.h +++ b/src/gui/widgets/tabs/socialguildtab.h @@ -134,7 +134,7 @@ class SocialGuildTab final : public SocialTab, mConfirmDialog->addActionListener(this); } - void buildCounter(const int online0, const int total0) + void buildCounter(const int online0, const int total0) override final { if (online0 || total0) { diff --git a/src/gui/widgets/tabs/socialguildtab2.h b/src/gui/widgets/tabs/socialguildtab2.h index 39c114b1e..e17b97466 100644 --- a/src/gui/widgets/tabs/socialguildtab2.h +++ b/src/gui/widgets/tabs/socialguildtab2.h @@ -72,7 +72,7 @@ class SocialGuildTab2 final : public SocialTab, } void buildCounter(const int online0 A_UNUSED, - const int total0 A_UNUSED) + const int total0 A_UNUSED) override final { if (!localPlayer) return; diff --git a/src/gui/widgets/tabs/socialpartytab.h b/src/gui/widgets/tabs/socialpartytab.h index f04755c9a..83d29ec1b 100644 --- a/src/gui/widgets/tabs/socialpartytab.h +++ b/src/gui/widgets/tabs/socialpartytab.h @@ -135,7 +135,7 @@ class SocialPartyTab final : public SocialTab, } void buildCounter(const int online0 A_UNUSED, - const int total0 A_UNUSED) + const int total0 A_UNUSED) override final { if (!localPlayer) return; |