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/charselectdialog.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | mv-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz mv-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2 mv-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz mv-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip |
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r-- | src/gui/charselectdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index 8e0ced99d..d822e005c 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -141,8 +141,8 @@ CharSelectDialog::CharSelectDialog(LoginData *const data): gcn::KeyListener(), mLocked(false), mLoginData(data), - mAccountNameLabel(new Label(mLoginData->username)), - mLastLoginLabel(new Label(mLoginData->lastLogin)), + mAccountNameLabel(new Label(this, mLoginData->username)), + mLastLoginLabel(new Label(this, mLoginData->lastLogin)), mSwitchLoginButton(new Button(this, _("Switch Login"), "switch", this)), mChangePasswordButton(new Button(this, _("Change Password"), "change_password", this)), @@ -561,9 +561,9 @@ CharacterDisplay::CharacterDisplay(const Widget2 *const widget, Container(widget), mCharacter(nullptr), mPlayerBox(new PlayerBox(nullptr)), - mName(new Label("wwwwwwwwwwwwwwwwwwwwwwww")), - mLevel(new Label("(888)")), - mMoney(new Label("wwwwwwwww")), + mName(new Label(this, "wwwwwwwwwwwwwwwwwwwwwwww")), + mLevel(new Label(this, "(888)")), + mMoney(new Label(this, "wwwwwwwww")), mButton(new Button(this, "wwwwwwwww", "go", charSelectDialog)), mDelete(new Button(this, _("Delete"), "delete", charSelectDialog)) { |