@@ -47,7 +47,7 @@ UsersModelPrivate::UsersModelPrivate(UsersModel* parent)
47 // for the user's real name. But we aren't. We *should* ask
47 // for the user's real name. But we aren't. We *should* ask
48 // AccountsService for the real name, like liblightdm does internally,
48 // AccountsService for the real name, like liblightdm does internally,
49 // but this is close enough since AS and passwd are always in sync.
49 // but this is close enough since AS and passwd are always in sync.
50− QString realName = g_get_real_name(); // gets name from passwd entry
50+ QString realName = QString::fromUtf8(g_get_real_name()); // gets name from passwd entry
51 if (realName == QStringLiteral("Unknown")) { // glib doesn't translate this string
51 if (realName == QStringLiteral("Unknown")) { // glib doesn't translate this string
52 realName.clear();
52 realName.clear();