Commit f6bd5c0d authored by Patrick José Pereira's avatar Patrick José Pereira

AirspaceAdvisoryProvider: Remove QString constructor with tr

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 1fa5d444
......@@ -27,20 +27,20 @@ QString
AirspaceAdvisory::typeStr()
{
switch(type()) {
case Airport: return QString(tr("Airport"));
case Controlled_airspace: return QString(tr("Controlled Airspace"));
case Special_use_airspace: return QString(tr("Special Use Airspace"));
case Tfr: return QString(tr("TFR"));
case Wildfire: return QString(tr("Wild Fire"));
case Park: return QString(tr("Park"));
case Power_plant: return QString(tr("Power Plant"));
case Heliport: return QString(tr("Heliport"));
case Prison: return QString(tr("Prison"));
case School: return QString(tr("School"));
case Hospital: return QString(tr("Hospital"));
case Fire: return QString(tr("Fire"));
case Emergency: return QString(tr("Emergency"));
case Invalid: return QString(tr("Custom"));
default: return QString(tr("Unknown"));
case Airport: return tr("Airport");
case Controlled_airspace: return tr("Controlled Airspace");
case Special_use_airspace: return tr("Special Use Airspace");
case Tfr: return tr("TFR");
case Wildfire: return tr("Wild Fire");
case Park: return tr("Park");
case Power_plant: return tr("Power Plant");
case Heliport: return tr("Heliport");
case Prison: return tr("Prison");
case School: return tr("School");
case Hospital: return tr("Hospital");
case Fire: return tr("Fire");
case Emergency: return tr("Emergency");
case Invalid: return tr("Custom");
default: return tr("Unknown");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment