mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user