Removed old model/views for aircraft, now all with simulated aircraft

Updates of models in view now manually / automatic possible
Allow to reload models (in backend)
This commit is contained in:
Klaus Basan
2015-03-19 23:56:08 +01:00
parent afed33dbbf
commit 48dc360237
22 changed files with 143 additions and 182 deletions

View File

@@ -211,6 +211,15 @@ namespace BlackSimPlugin
return mapperInstance()->getIcaoForModelString(modelString);
}
void CSimulatorFsCommon::reloadInstalledModels()
{
if (mapperInstance())
{
mapperInstance()->markUninitialized();
mapperInstance()->initCompletelyInBackground();
}
}
CPixmap CSimulatorFsCommon::iconForModel(const QString &modelString) const
{
static const CPixmap empty;