diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:23:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch) | |
tree | 0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/outfitwindow.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | plus-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/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index 9f9c05565..2c1800c82 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -61,12 +61,12 @@ OutfitWindow::OutfitWindow(): mPreviousButton(new Button(this, _("<"), "previous", this)), mNextButton(new Button(this, _(">"), "next", this)), mEquipButtom(new Button(this, _("Equip"), "equip", this)), - mCurrentLabel(new Label(strprintf(_("Outfit: %d"), 1))), + mCurrentLabel(new Label(this, strprintf(_("Outfit: %d"), 1))), mUnequipCheck(new CheckBox(this, _("Unequip first"), serverConfig.getValueBool("OutfitUnequip0", true))), mAwayOutfitCheck(new CheckBox(this, _("Away outfit"), serverConfig.getValue("OutfitAwayIndex", OUTFITS_COUNT - 1))), - mKeyLabel(new Label(strprintf(_("Key: %s"), + mKeyLabel(new Label(this, strprintf(_("Key: %s"), keyName(mCurrentOutfit).c_str()))), mBoxWidth(33), mBoxHeight(33), |