Capitalize country code in user info box
This commit is contained in:
parent
b5fbebc883
commit
1af6486d74
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ void UserInfoBox::updateInfo(const ServerInfo_User &user)
|
|||
nameLabel.setText(QString::fromStdString(user.name()));
|
||||
realNameLabel2.setText(QString::fromStdString(user.real_name()));
|
||||
genderLabel2.setPixmap(GenderPixmapGenerator::generatePixmap(15, user.gender()));
|
||||
QString country = QString::fromStdString(user.country());
|
||||
QString country = QString::fromStdString(user.country()).toUpper();
|
||||
countryLabel2.setPixmap(CountryPixmapGenerator::generatePixmap(15, country));
|
||||
countryLabel3.setText(QString("(%1)").arg(country));
|
||||
userLevelLabel2.setPixmap(UserLevelPixmapGenerator::generatePixmap(15, userLevel));
|
||||
|
|
Loading…
Reference in a new issue