refs #409 Add RW's FS9 path to directory selection

This commit is contained in:
Roland Winklmeier
2015-05-08 14:08:50 +02:00
parent 6995ad7063
commit 4147829488

View File

@@ -39,7 +39,10 @@ namespace BlackSimTest
// mapper with rule set, handing over ownership
CAircraftMapper mapper(std::move(cvm));
QString fsxDir = CSampleUtils::selectDirectory({"P:/FlightSimulatorX (MSI)/SimObjects", "P:/Temp/SimObjects"}, streamOut, streamIn);
QString fsxDir = CSampleUtils::selectDirectory({QStringLiteral("P:/FlightSimulatorX (MSI)/SimObjects"),
QStringLiteral("P:/Temp/SimObjects"),
QStringLiteral("C:/Flight Simulator 9/Aircraft")}, streamOut, streamIn);
if (!mapper.changeCAircraftCfgEntriesDirectory(fsxDir))
{
streamOut << "Wrong or empty directoy " << fsxDir << endl;