diff options
author | Timothy Pearson <[email protected]> | 2013-08-03 17:10:10 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-08-03 17:10:10 -0500 |
commit | d85d82bd00b3a5f49569bf99fd0ad8a3df0dc234 (patch) | |
tree | ab8841a32934f6b8f1b7eb043dca4221853d6074 /ksmserver/server.cpp | |
parent | 682dadf9bbd25d76c524a35263e89b93afe97580 (diff) | |
download | tdebase-d85d82bd00b3a5f49569bf99fd0ad8a3df0dc234.tar.gz tdebase-d85d82bd00b3a5f49569bf99fd0ad8a3df0dc234.zip |
Provide visual indication of SaveYourself hang protection timer
Reduce hang protection timer to 20 seconds
This relates to Bug 760
Diffstat (limited to 'ksmserver/server.cpp')
-rw-r--r-- | ksmserver/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp index e69ebbbe9..068246305 100644 --- a/ksmserver/server.cpp +++ b/ksmserver/server.cpp @@ -580,7 +580,7 @@ extern "C" int _IceTransNoListen(const char * protocol); #endif KSMServer::KSMServer( const TQString& windowManager, const TQString& windowManagerAddArgs, bool _only_local ) - : DCOPObject("ksmserver"), startupNotifierIPDlg(0), shutdownNotifierIPDlg(0), sessionGroup( "" ) + : DCOPObject("ksmserver"), startupNotifierIPDlg(0), shutdownNotifierIPDlg(0), sessionGroup( "" ), protectionTimerCounter(0) { the_server = this; clean = false; @@ -682,7 +682,7 @@ KSMServer::KSMServer( const TQString& windowManager, const TQString& windowManag signal(SIGPIPE, SIG_IGN); connect( ¬ificationTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( notificationTimeout() ) ); - connect( &protectionTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( protectionTimeout() ) ); + connect( &protectionTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( protectionTimerTick() ) ); connect( &restoreTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( tryRestoreNext() ) ); connect( &shutdownTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( timeoutQuit() ) ); connect( kapp, TQT_SIGNAL( shutDown() ), this, TQT_SLOT( cleanUp() ) ); |