summaryrefslogtreecommitdiff
path: root/src/gui/widgets/slider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/slider.cpp')
-rw-r--r--src/gui/widgets/slider.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp
index d97e3e57d..630bd7e28 100644
--- a/src/gui/widgets/slider.cpp
+++ b/src/gui/widgets/slider.cpp
@@ -79,7 +79,10 @@ void Slider::init()
if (Theme::instance())
{
for (int mode = 0; mode < 2; mode ++)
- Theme::instance()->loadRect(buttons[mode], data[mode], 0, 8);
+ {
+ Theme::instance()->loadRect(buttons[mode],
+ data[mode], "slider.xml", 0, 8);
+ }
}
updateAlpha();
}