summaryrefslogtreecommitdiff
path: root/src/gui/ministatuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:30:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commitb6b4ea19929e7e67d987041aa129366f4fed3a6d (patch)
tree8bcc999ef4ae32aabd10a4109fb5e8c57067c18d /src/gui/ministatuswindow.cpp
parent0153e8fa499b7bbdd712339bfb3921ead15a37a2 (diff)
downloadManaVerse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.gz
ManaVerse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.bz2
ManaVerse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.xz
ManaVerse-b6b4ea19929e7e67d987041aa129366f4fed3a6d.zip
Add palette inheritance to progressbar class.
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);