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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/sliderlist.h b/src/gui/widgets/sliderlist.h
index 4ef673b83..73f8c6f5c 100644
--- a/src/gui/widgets/sliderlist.h
+++ b/src/gui/widgets/sliderlist.h
@@ -67,7 +67,7 @@ class SliderList final : public Container,
void adjustSize();
- int getSelected() A_WARN_UNUSED
+ int getSelected() const A_WARN_UNUSED
{ return mSelectedIndex; }
protected: