mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
Removed outdated sender check, adjusted time
This commit is contained in:
@@ -295,15 +295,11 @@ void SwiftGuiStd::ps_onConnectionStatusChanged(int from, int to)
|
||||
|
||||
void SwiftGuiStd::ps_handleTimerBasedUpdates()
|
||||
{
|
||||
QObject *sender = QObject::sender();
|
||||
if (sender == this->m_timerContextWatchdog)
|
||||
{
|
||||
this->setContextAvailability();
|
||||
this->updateGuiStatusInformation();
|
||||
}
|
||||
this->setContextAvailability();
|
||||
this->updateGuiStatusInformation();
|
||||
|
||||
// own aircraft
|
||||
this->ps_reloadOwnAircraft(); // regular updates
|
||||
this->ps_reloadOwnAircraft();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::setContextAvailability()
|
||||
|
||||
Reference in New Issue
Block a user