refs #485, load settings in core facade

Idea: settings will be automatically available
This commit is contained in:
Klaus Basan
2016-02-16 03:45:24 +01:00
committed by Mathew Sutcliffe
parent 1b587c2ee8
commit 96913c6dc1
2 changed files with 7 additions and 4 deletions

View File

@@ -177,6 +177,13 @@ namespace BlackCore
this->getCContextOwnAircraft(), &CContextOwnAircraft::ps_changedSimulatorModel);
Q_ASSERT(c);
}
// settings
if (this->getIContextApplication()) {
this->getIContextApplication()->loadSettings();
}
// times
times.insert("Post setup, sim.connects", time.restart());
}