diff options
Diffstat (limited to 'src/gui/specialswindow.cpp')
-rw-r--r-- | src/gui/specialswindow.cpp | 6 |
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); } |