Removed outdated sender check, adjusted time

This commit is contained in:
Klaus Basan
2015-05-21 02:24:34 +02:00
parent 880a954db9
commit 6bb3e7f753
2 changed files with 5 additions and 9 deletions

View File

@@ -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()