diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-02 12:26:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-02 12:26:23 +0300 |
commit | 124e28787a66fc1ae882afbb5711b08620b51563 (patch) | |
tree | 5f172652494234e6caae74cf04a2cd4d0083cbf0 /src/gui/widgets/tabs | |
parent | 48746ecb8cd94270f143cc7d722188d2e77c3101 (diff) | |
download | mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.gz mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.bz2 mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.xz mv-124e28787a66fc1ae882afbb5711b08620b51563.zip |
Remove useless virtual keywords.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setuptabscroll.h | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h index 762158e8a..ac6129194 100644 --- a/src/gui/widgets/tabs/chat/chattab.h +++ b/src/gui/widgets/tabs/chat/chattab.h @@ -179,7 +179,7 @@ class ChatTab notfinal : public Tab friend class ChatWindow; friend class WhisperWindow; - virtual void setCurrent() override final + void setCurrent() override final { setFlash(0); } virtual void handleInput(const std::string &msg); diff --git a/src/gui/widgets/tabs/setuptabscroll.h b/src/gui/widgets/tabs/setuptabscroll.h index f701ea6ed..ae5f7bcd4 100644 --- a/src/gui/widgets/tabs/setuptabscroll.h +++ b/src/gui/widgets/tabs/setuptabscroll.h @@ -45,16 +45,15 @@ class SetupTabScroll notfinal : public SetupTab VertContainer *getContainer() const A_WARN_UNUSED { return mContainer; } - virtual void apply() override; + void apply() override; - virtual void cancel() override final; + void cancel() override final; - virtual void externalUpdated() override; + void externalUpdated() override; - virtual void externalUnloaded() override; + void externalUnloaded() override; - virtual void action(const ActionEvent &event A_UNUSED) - override final + void action(const ActionEvent &event A_UNUSED) override final { } int getPreferredFirstItemSize() const A_WARN_UNUSED |