Fixed updates of view when simulated aircraft values are updated.

* renamed view to simulated aircraft view
* utility function for bool -> on/off
This commit is contained in:
Klaus Basan
2015-03-19 03:39:33 +01:00
parent 066515fb9b
commit a50e45e451
9 changed files with 69 additions and 38 deletions

View File

@@ -154,10 +154,10 @@ namespace BlackMisc
{
QString s = CAircraft::convertToQString(i18n);
s += " enabled: ";
s += this->isEnabled() ? "yes" : "no";
s += BlackMisc::boolToYesNo(this->isEnabled());
s += " ";
s += " rendered: ";
s += this->isRendered() ? "yes" : "no";
s += BlackMisc::boolToYesNo(this->isRendered());
s += " ";
s += this->m_model.toQString(i18n);
s += " ";