mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
* adjustments to use deferred caches * removed simulator from CAircraftModelSetLoader`s signature as it was not used * only change current simulator when explicitly set (avoid unintended setting) * added function to obtain number of elements from model caches
This commit is contained in:
@@ -146,7 +146,7 @@ namespace BlackMisc
|
||||
|
||||
QString CFsCommonUtil::fs9AircraftDir()
|
||||
{
|
||||
QString dir(fs9AircraftDirFromRegistry());
|
||||
const QString dir(fs9AircraftDirFromRegistry());
|
||||
if (!dir.isEmpty()) { return dir; }
|
||||
//! \todo hardcoded sim parts should come from settings
|
||||
return "C:/Flight Simulator 9/Aircraft";
|
||||
|
||||
Reference in New Issue
Block a user