mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +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)
|
void CLoginComponent::mainInfoAreaChanged(const QWidget *currentWidget)
|
||||||
{
|
{
|
||||||
if (!sGui || sGui->isShuttingDown()) { return; }
|
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||||
m_logoffCountdownTimer.stop(); // in any case stop the timer
|
|
||||||
if (currentWidget != this && currentWidget != this->parentWidget())
|
if (currentWidget != this && currentWidget != this->parentWidget())
|
||||||
{
|
{
|
||||||
m_logoffCountdownTimer.stop();
|
//m_logoffCountdownTimer.stop();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user