Shutdown guard

This commit is contained in:
Klaus Basan
2018-04-28 19:53:20 +02:00
committed by Roland Winklmeier
parent ad10470eb1
commit a2ab62a25a
2 changed files with 2 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ namespace BlackGui
void CLoginComponent::mainInfoAreaChanged(const QWidget *currentWidget)
{
if (!sGui || sGui->isShuttingDown()) { return; }
m_logoffCountdownTimer.stop(); // in any case stop the timer
if (currentWidget != this && currentWidget != this->parentWidget())
{