refs #858, todo review (demoted, commented)

This commit is contained in:
Klaus Basan
2017-01-12 18:10:45 +01:00
committed by Mathew Sutcliffe
parent c2aeab0ab8
commit 61e7f23847
11 changed files with 21 additions and 23 deletions

View File

@@ -203,11 +203,11 @@ namespace BlackMisc
const CSimulatorInfo CSimulatorInfo::getLocallyInstalledSimulators()
{
//! \todo add XP, ...
CSimulatorInfo sim;
bool fs9 = false;
bool fsx = false;
bool p3d = false;
bool xp = false;
if (CBuildConfig::isRunningOnWindowsNtPlatform())
{
@@ -224,7 +224,8 @@ namespace BlackMisc
!CFsCommonUtil::p3dDir().isEmpty() &&
!CFsCommonUtil::p3dSimObjectsDir().isEmpty();
}
bool xp = true; //! \todo XP resolution
xp = true; //! \todo XP resolution for locally installed simulator
sim.setSimulator(CSimulatorInfo::boolToFlag(fsx, fs9, xp, p3d));
return sim;