summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/gui/widgets/setupitem.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadmanaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
manaplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index 87e32bdaa..ec1a1de0b 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -85,12 +85,12 @@ class SetupItem : public gcn::ActionListener,
void setWidget(gcn::Widget *widget)
{ mWidget = widget; }
- gcn::Widget *getWidget() const
+ gcn::Widget *getWidget() const A_WARN_UNUSED
{ return mWidget; }
- Configuration *getConfig() const;
+ Configuration *getConfig() const A_WARN_UNUSED;
- virtual std::string getActionEventId();
+ virtual std::string getActionEventId() const A_WARN_UNUSED;
virtual void action(const gcn::ActionEvent &event) override;
@@ -102,7 +102,7 @@ class SetupItem : public gcn::ActionListener,
virtual void externalUpdated(std::string eventName);
- bool isMainConfig() const
+ bool isMainConfig() const A_WARN_UNUSED
{ return mMainConfig; }
void fixFirstItemSize(gcn::Widget *const widget);