mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refactor: Remove unused method
This commit is contained in:
@@ -777,16 +777,6 @@ namespace BlackMisc::Aviation
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CAircraftIcaoCode::isValidWtc(const QString &candidate)
|
|
||||||
{
|
|
||||||
if (candidate.isEmpty()) { return true; } // we accept unspecified
|
|
||||||
if (candidate.length() == 1)
|
|
||||||
{
|
|
||||||
return candidate == "L" || candidate == "M" || candidate == "H" || candidate == "J";
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
const QString &CAircraftIcaoCode::getUnassignedDesignator()
|
const QString &CAircraftIcaoCode::getUnassignedDesignator()
|
||||||
{
|
{
|
||||||
static const QString z("ZZZZ");
|
static const QString z("ZZZZ");
|
||||||
|
|||||||
@@ -327,9 +327,6 @@ namespace BlackMisc::Aviation
|
|||||||
//! Valid combined type
|
//! Valid combined type
|
||||||
static bool isValidCombinedType(const QString &combinedType);
|
static bool isValidCombinedType(const QString &combinedType);
|
||||||
|
|
||||||
//! Valid WTC code?
|
|
||||||
static bool isValidWtc(const QString &candidate);
|
|
||||||
|
|
||||||
//! The unassigned designator ("ZZZZ")
|
//! The unassigned designator ("ZZZZ")
|
||||||
static const QString &getUnassignedDesignator();
|
static const QString &getUnassignedDesignator();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user