mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
Issue #115 Don't stop timer when opening login view
Otherwise the timer will always stop immediately after it starts.
This commit is contained in:
@@ -195,10 +195,9 @@ 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())
|
||||
{
|
||||
m_logoffCountdownTimer.stop();
|
||||
//m_logoffCountdownTimer.stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user