summaryrefslogtreecommitdiff
path: root/src/gui/specialswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:23:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch)
tree0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/specialswindow.cpp
parent4c7a11b639ec94c8a32a9a52e99652c464745037 (diff)
downloadplus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz
plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2
plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz
plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/specialswindow.cpp')
-rw-r--r--src/gui/specialswindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/specialswindow.cpp b/src/gui/specialswindow.cpp
index b1d105aeb..05aea6b96 100644
--- a/src/gui/specialswindow.cpp
+++ b/src/gui/specialswindow.cpp
@@ -210,16 +210,16 @@ SpecialEntry::SpecialEntry(SpecialInfo *const info) :
add(mIcon);
if (info)
- mNameLabel = new Label(info->name);
+ mNameLabel = new Label(this, info->name);
else
- mNameLabel = new Label("");
+ mNameLabel = new Label(this, "");
mNameLabel->setPosition(35, 0);
add(mNameLabel);
if (info && info->hasLevel)
{
- mLevelLabel = new Label(toString(info->level));
+ mLevelLabel = new Label(this, toString(info->level));
mLevelLabel->setPosition(getWidth() - mLevelLabel->getWidth(), 0);
add(mLevelLabel);
}