summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/chat/gmtab.h5
-rw-r--r--src/gui/widgets/tabs/setup_relations.h2
-rw-r--r--src/gui/widgets/tabs/setuptab.h4
3 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/widgets/tabs/chat/gmtab.h b/src/gui/widgets/tabs/chat/gmtab.h
index a120eb745..fdc520c9c 100644
--- a/src/gui/widgets/tabs/chat/gmtab.h
+++ b/src/gui/widgets/tabs/chat/gmtab.h
@@ -36,11 +36,12 @@ class GmTab final : public ChatTab
~GmTab();
protected:
- void getAutoCompleteList(StringVect &names) const override final;
+ void getAutoCompleteList(StringVect &names) const
+ override final A_CONST;
void handleInput(const std::string &msg) override final;
- void handleCommandStr(const std::string &msg) override final;
+ void handleCommandStr(const std::string &msg) override final A_CONST;
};
extern GmTab *gmChatTab;
diff --git a/src/gui/widgets/tabs/setup_relations.h b/src/gui/widgets/tabs/setup_relations.h
index 2d446452e..72abdb313 100644
--- a/src/gui/widgets/tabs/setup_relations.h
+++ b/src/gui/widgets/tabs/setup_relations.h
@@ -48,7 +48,7 @@ class Setup_Relations final : public SetupTab,
void apply() override final;
- void cancel() override final;
+ void cancel() override final A_CONST;
void reset();
diff --git a/src/gui/widgets/tabs/setuptab.h b/src/gui/widgets/tabs/setuptab.h
index a9fd785ef..db9d3c68f 100644
--- a/src/gui/widgets/tabs/setuptab.h
+++ b/src/gui/widgets/tabs/setuptab.h
@@ -53,9 +53,9 @@ class SetupTab notfinal : public Container,
*/
virtual void cancel() = 0;
- virtual void externalUpdated();
+ virtual void externalUpdated() A_CONST;
- virtual void externalUnloaded();
+ virtual void externalUnloaded() A_CONST;
protected:
explicit SetupTab(const Widget2 *const widget);