diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-27 19:46:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-27 19:46:47 -0600 |
commit | 4ea3979393d7ae160810a56fe965f0b25630b2ba (patch) | |
tree | b126e6cdae87b3c9645b2e47d05bf3d148bfcecb /kdesktop/lock/lockdlg.cc | |
parent | a2146f655c7ca3b10cf50833eefd483e635e1f4a (diff) | |
download | tdebase-4ea3979393d7ae160810a56fe965f0b25630b2ba.tar.gz tdebase-4ea3979393d7ae160810a56fe965f0b25630b2ba.zip |
Fix desktop lock process not hiding secondary screens
This closes Bug 669
Diffstat (limited to 'kdesktop/lock/lockdlg.cc')
-rw-r--r-- | kdesktop/lock/lockdlg.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdesktop/lock/lockdlg.cc b/kdesktop/lock/lockdlg.cc index 28fa5058d..0863a22cc 100644 --- a/kdesktop/lock/lockdlg.cc +++ b/kdesktop/lock/lockdlg.cc @@ -115,7 +115,7 @@ void PasswordDlg::init(GreeterPluginHandle *plugin) frame->setFrameStyle( TQFrame::Panel | TQFrame::Raised ); frame->setLineWidth( 2 ); - TQLabel *pixLabel; + TQLabel *pixLabel = NULL; if (!trinity_desktop_lock_use_system_modal_dialogs) { pixLabel = new TQLabel( frame, "pixlabel" ); pixLabel->setPixmap(DesktopIcon("lock")); @@ -134,7 +134,7 @@ void PasswordDlg::init(GreeterPluginHandle *plugin) i18n("<nobr><b>The session was locked by %1</b><br>").arg( user.fullName() ), frame ); } - TQLabel *lockDTLabel; + TQLabel *lockDTLabel = NULL; if ((trinity_desktop_lock_use_system_modal_dialogs) && (!m_lockStartDT.isNull())) { lockDTLabel = new TQLabel(i18n("This session has been locked since %1").arg(m_lockStartDT.toString()), frame); } |