mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +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);
|
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);
|
emit this->changedAircraftIcaoCodes(aircraftIcaoCode, airlineIcaoCode);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CContextOwnAircraft::updateSelcal(const CSelcal &selcal, const CIdentifier &originator)
|
bool CContextOwnAircraft::updateSelcal(const CSelcal &selcal, const CIdentifier &originator)
|
||||||
|
|||||||
Reference in New Issue
Block a user