mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +08:00
Shutdown guard
This commit is contained in:
committed by
Roland Winklmeier
parent
ad10470eb1
commit
a2ab62a25a
@@ -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())
|
||||
{
|
||||
|
||||
@@ -380,7 +380,7 @@ void SwiftGuiStd::onStyleSheetsChanged()
|
||||
|
||||
void SwiftGuiStd::onCurrentMainWidgetChanged(int currentIndex)
|
||||
{
|
||||
emit currentMainInfoAreaChanged(ui->sw_MainMiddle->currentWidget());
|
||||
emit this->currentMainInfoAreaChanged(ui->sw_MainMiddle->currentWidget());
|
||||
Q_UNUSED(currentIndex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user