on xenial help sign in
Drop hack, not needed yet
7d02bb2Michael Terry
plugins/IntegratedLightDM/liblightdm/UsersModelPrivate.cpp−7
@@ -52,13 +52,6 @@ UsersModelPrivate::UsersModelPrivate(UsersModel* parent)
52 if (realName == QStringLiteral("Unknown")) { // glib doesn't translate this string
52 if (realName == QStringLiteral("Unknown")) { // glib doesn't translate this string
53 realName = QStringLiteral("");
53 realName = QStringLiteral("");
54 }
54 }
55− if (realName == QStringLiteral("phablet")
56− && currentUser == QStringLiteral("phablet")
57− && getuid() == 32011
58− && getgid() == 32011) {
59− // This *should* be set at image-creation time, but until it is...
60− realName = QStringLiteral("Ubuntu"); // is brand name, so not translated
61− }
62 entries.append({currentUser, realName, 0, 0, false, false, 0, 0});
55 entries.append({currentUser, realName, 0, 0, false, false, 0, 0});
63 }
56 }
64}
57}