diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:05:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch) | |
tree | 077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/gui/widgets/sliderlist.h | |
parent | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff) | |
download | manaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz manaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2 manaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz manaverse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip |
Add unused warnings to other files.
Diffstat (limited to 'src/gui/widgets/sliderlist.h')
-rw-r--r-- | src/gui/widgets/sliderlist.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/sliderlist.h b/src/gui/widgets/sliderlist.h index 1e57b1101..42e6cb575 100644 --- a/src/gui/widgets/sliderlist.h +++ b/src/gui/widgets/sliderlist.h @@ -60,19 +60,19 @@ class SliderList final : public Container, void setSelectedString(std::string str); - std::string getSelectedString() const; + std::string getSelectedString() const A_WARN_UNUSED; void setSelected(int idx); void adjustSize(); - int getSelected() + int getSelected() A_WARN_UNUSED { return mSelectedIndex; } protected: void updateLabel(); - int getMaxLabelWidth(); + int getMaxLabelWidth() A_WARN_UNUSED; Button *mButtons[2]; Label *mLabel; |