summaryrefslogtreecommitdiff
path: root/src/gui/ministatuswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ministatuswindow.cpp')
-rw-r--r--src/gui/ministatuswindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp
index 6309f10c1..99bbcaa1c 100644
--- a/src/gui/ministatuswindow.cpp
+++ b/src/gui/ministatuswindow.cpp
@@ -139,7 +139,8 @@ ProgressBar *MiniStatusWindow::createBar(const float progress,
const int color, std::string name,
std::string description)
{
- ProgressBar *const bar = new ProgressBar(progress, width, height, color);
+ ProgressBar *const bar = new ProgressBar(this,
+ progress, width, height, color);
bar->setActionEventId(name);
bar->setId(description);
mBars.push_back(bar);