refs #247 Using CVariant in blacksim.

This commit is contained in:
Mathew Sutcliffe
2014-12-06 16:33:12 +00:00
parent f80d7e27d1
commit 3a9ff3112f
3 changed files with 10 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ namespace BlackSim
QSettings fsxRegistry("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Microsoft Games\\Flight Simulator\\10.0", QSettings::NativeFormat);
fsxPath = fsxRegistry.value("SetupPath").toString();
}
if (!fsxPath.isEmpty()) this->m_setup.value(CSimulatorSetup::SetupSimPath, QVariant(fsxPath));
if (!fsxPath.isEmpty()) this->m_setup.value(CSimulatorSetup::SetupSimPath, CVariant(fsxPath));
}
}
} // namespace