diff options
author | Timothy Pearson <[email protected]> | 2012-04-25 23:49:41 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-04-25 23:49:41 -0500 |
commit | a090f7e90af5bd06df3ce495f82df9c4affc2453 (patch) | |
tree | 6d93f07b12e339c6fd5d630bc0dbfd4f76e10058 /kdesktop | |
parent | a9ad8717d1ba0ab71d6830e4fa237938cc7baedb (diff) | |
download | tdebase-a090f7e90af5bd06df3ce495f82df9c4affc2453.tar.gz tdebase-a090f7e90af5bd06df3ce495f82df9c4affc2453.zip |
Fix user name display in secure dialog
Diffstat (limited to 'kdesktop')
-rw-r--r-- | kdesktop/lock/securedlg.cc | 4 |
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 ); |