summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdesktop/lock/securedlg.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/kdesktop/lock/securedlg.cc b/kdesktop/lock/securedlg.cc
index 87a50eefd..be32ce0a6 100644
--- a/kdesktop/lock/securedlg.cc
+++ b/kdesktop/lock/securedlg.cc
@@ -87,6 +87,10 @@ SecureDlg::SecureDlg(LockProcess *parent)
KUser user;
mLogonStatus = new TQLabel( frame );
+ TQString userString = user.fullName();
+ if (userString == "") {
+ userString = user.loginName();
+ }
mLogonStatus->setText(i18n("'%1' is currently logged on").arg( user.fullName() ));
KSeparator *sep = new KSeparator( KSeparator::HLine, frame );