summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.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/tab.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r--src/gui/widgets/tab.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index 7947ea01a..3589b2905 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -99,7 +99,7 @@ class Tab : public gcn::BasicContainer,
void setFlash(const int flash)
{ mFlash = flash; }
- int getFlash() const
+ int getFlash() const A_WARN_UNUSED
{ return mFlash; }
void widgetResized(const gcn::Event &event) override;
@@ -108,18 +108,18 @@ class Tab : public gcn::BasicContainer,
void setLabelFont(gcn::Font *const font);
- Label *getLabel() const
+ Label *getLabel() const A_WARN_UNUSED
{ return mLabel; }
void adjustSize();
void setTabbedArea(TabbedArea* tabbedArea);
- TabbedArea* getTabbedArea();
+ TabbedArea* getTabbedArea() A_WARN_UNUSED;
void setCaption(const std::string& caption);
- const std::string &getCaption() const;
+ const std::string &getCaption() const A_WARN_UNUSED;
void mouseEntered(gcn::MouseEvent &mouseEvent) override;