mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Ref T515, added failover flag for addingRemoteModelFailed
* adjusted signatures * renamings and minor style adjustments
This commit is contained in:
committed by
Mat Sutcliffe
parent
f316c63fbe
commit
6470c61d0a
@@ -183,9 +183,11 @@ namespace BlackGui
|
||||
}
|
||||
}
|
||||
|
||||
void CSimulatorComponent::onAddingRemoteModelFailed(const CSimulatedAircraft &aircraft, bool disabled, const CStatusMessage &message)
|
||||
void CSimulatorComponent::onAddingRemoteModelFailed(const CSimulatedAircraft &aircraft, bool disabled, bool failover, const CStatusMessage &message)
|
||||
{
|
||||
ui->comp_StatusMessages->appendStatusMessageToList(CStatusMessage(this).warning(u"Adding model failed, disabled: %1: '%2'") << boolToYesNo(disabled) << aircraft.toQString(true));
|
||||
ui->comp_StatusMessages->appendStatusMessageToList(CStatusMessage(this).
|
||||
warning(u"Adding model '%1' failed, disabled: %2: failover: %3 detials: %4")
|
||||
<< aircraft.getModelString() << boolToYesNo(disabled) << boolToYesNo(failover) << aircraft.toQString(true));
|
||||
ui->comp_StatusMessages->appendStatusMessageToList(message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user