From 1af6486d74958222e9a24182d2faff78fad708da Mon Sep 17 00:00:00 2001 From: Gavin Bises Date: Wed, 28 Jan 2015 19:03:08 -0500 Subject: [PATCH] Capitalize country code in user info box --- cockatrice/src/userinfobox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/userinfobox.cpp b/cockatrice/src/userinfobox.cpp index 4472ada6..aa245b3f 100644 --- a/cockatrice/src/userinfobox.cpp +++ b/cockatrice/src/userinfobox.cpp @@ -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));