summaryrefslogtreecommitdiff
path: root/src/gui/widgets/sliderlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/sliderlist.h')
-rw-r--r--src/gui/widgets/sliderlist.h6
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;