summaryrefslogtreecommitdiff
path: root/src/gui/specialswindow.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/specialswindow.cpp
parent0153e8fa499b7bbdd712339bfb3921ead15a37a2 (diff)
downloadplus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.gz
plus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.bz2
plus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.tar.xz
plus-b6b4ea19929e7e67d987041aa129366f4fed3a6d.zip
Add palette inheritance to progressbar class.
Diffstat (limited to 'src/gui/specialswindow.cpp')
-rw-r--r--src/gui/specialswindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/specialswindow.cpp b/src/gui/specialswindow.cpp
index 05aea6b96..1aaeba685 100644
--- a/src/gui/specialswindow.cpp
+++ b/src/gui/specialswindow.cpp
@@ -239,7 +239,7 @@ SpecialEntry::SpecialEntry(SpecialInfo *const info) :
progress = static_cast<float>(info->rechargeCurrent)
/ static_cast<float>(info->rechargeNeeded);
}
- mRechargeBar = new ProgressBar(progress, 100, 0, Theme::PROG_MP);
+ mRechargeBar = new ProgressBar(this, progress, 100, 0, Theme::PROG_MP);
mRechargeBar->setSmoothProgress(false);
mRechargeBar->setPosition(0, 13);
add(mRechargeBar);