mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #800 Fixed unreachable code.
This commit is contained in:
committed by
Klaus Basan
parent
ced70c4612
commit
53ceaca47c
@@ -286,9 +286,10 @@ namespace BlackCore
|
||||
{
|
||||
{
|
||||
QWriteLocker l(&m_lockAircraft);
|
||||
return this->m_ownAircraft.setIcaoCodes(aircraftIcaoCode, airlineIcaoCode);
|
||||
if (!this->m_ownAircraft.setIcaoCodes(aircraftIcaoCode, airlineIcaoCode)) { return false; }
|
||||
}
|
||||
emit this->changedAircraftIcaoCodes(aircraftIcaoCode, airlineIcaoCode);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CContextOwnAircraft::updateSelcal(const CSelcal &selcal, const CIdentifier &originator)
|
||||
|
||||
Reference in New Issue
Block a user