summaryrefslogtreecommitdiff
path: root/src/gui/windows/ministatuswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/ministatuswindow.cpp')
-rw-r--r--src/gui/windows/ministatuswindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp
index ebc7edd8e..f04c28288 100644
--- a/src/gui/windows/ministatuswindow.cpp
+++ b/src/gui/windows/ministatuswindow.cpp
@@ -196,7 +196,8 @@ ProgressBar *MiniStatusWindow::createBar(const float progress,
progress, width, height, backColor, skin, skinFill);
bar->setActionEventId(name);
bar->setId(description);
- bar->setColor(getThemeColor(textColor), getThemeColor(textColor + 1));
+ bar->setColor(getThemeColor(textColor, 255U),
+ getThemeColor(textColor + 1, 255U));
mBars.push_back(bar);
mBarNames[name] = bar;
return bar;