diff options
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)) { |