ksmserver: increase the notification timeout to 10sec

because the other timeouts are 10sec

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-04-08 19:38:59 +03:00
parent 5437da57dd
commit 2053a185ef

View file

@ -451,7 +451,7 @@ void KSMServer::completeShutdownOrCheckpoint()
// if sound is not working for some reason the closed() signal never happens
// and logoutSoundFinished() never gets called. Add this timer to make
// sure the shutdown procedure continues even if sound system is broken.
QTimer::singleShot(5000, this, SLOT(logoutSoundTimeout()));
QTimer::singleShot(10000, this, SLOT(logoutSoundTimeout()));
kDebug() << "Starting logout event";
state = WaitingForKNotify;
createLogoutEffectWidget();