|
|
|
|
@ -777,7 +777,7 @@ void KDisplayManager::sess2Str2(const SessEnt &se, QString &user, QString &loc) |
|
|
|
|
user = se.user.isEmpty() ? se.session.isEmpty() |
|
|
|
|
? i18nc("… location (TTY or X display)", "Unused") : se.session == QLatin1String("<remote>") |
|
|
|
|
? i18n("X login on remote host") : i18nc("… host", "X login on %1", se.session) |
|
|
|
|
: se.session == QLatin1String("<unknown>")
|
|
|
|
|
: se.session == QLatin1String("<unknown>") |
|
|
|
|
? se.user : i18nc("user: session type", "%1: %2", se.user, se.session); |
|
|
|
|
// clang-format on
|
|
|
|
|
loc = se.vt ? QStringLiteral("%1, vt%2").arg(se.display).arg(se.vt) : se.display; |
|
|
|
|
|