mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #768, allow more detailed tooltips
(makes it sometimes much easier to identify an entity)
This commit is contained in:
@@ -105,6 +105,12 @@ namespace BlackMisc
|
||||
return QJsonDocument(this->toDatabaseJson()).toJson(format);
|
||||
}
|
||||
|
||||
QString CAircraftModel::asHtmlSummary() const
|
||||
{
|
||||
const QString html = "Model: %1<br>Aircraft ICAO: %2<br>Livery: %3";
|
||||
return html.arg(this->getModelStringAndDbKey(), this->getAircraftIcaoCode().asHtmlSummary(), this->getLivery().asHtmlSummary());
|
||||
}
|
||||
|
||||
bool CAircraftModel::canInitializeFromFsd() const
|
||||
{
|
||||
const bool nw = this->getModelType() == CAircraftModel::TypeQueriedFromNetwork ||
|
||||
|
||||
Reference in New Issue
Block a user