diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-12-14 02:58:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-12-14 02:58:34 +0300 |
commit | c3c14c092bf1038d766dd969561a83515554d844 (patch) | |
tree | 340d986acd77fa4a6571f6976a831ccc693e851f /src/gui/charselectdialog.cpp | |
parent | 386650285cecf90a0b77ac3dd5e3548148ca9182 (diff) | |
download | manaplus-c3c14c092bf1038d766dd969561a83515554d844.tar.gz manaplus-c3c14c092bf1038d766dd969561a83515554d844.tar.bz2 manaplus-c3c14c092bf1038d766dd969561a83515554d844.tar.xz manaplus-c3c14c092bf1038d766dd969561a83515554d844.zip |
Add last login time to char selection dialog.
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r-- | src/gui/charselectdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index 15d1e6e0e..401c9ae33 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -135,6 +135,7 @@ CharSelectDialog::CharSelectDialog(LoginData *data): setCloseButton(false); mAccountNameLabel = new Label(mLoginData->username); + mLastLoginLabel = new Label(mLoginData->lastLogin); mSwitchLoginButton = new Button(_("Switch Login"), "switch", this); mChangePasswordButton = new Button(_("Change Password"), "change_password", this); @@ -145,6 +146,7 @@ CharSelectDialog::CharSelectDialog(LoginData *data): placer = getPlacer(0, 0); placer(0, 0, mAccountNameLabel, 2); + placer(2, 0, mLastLoginLabel); placer(0, 1, mSwitchLoginButton); if (optionalActions & Net::LoginHandler::Unregister) |