mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 08:55:43 +08:00
refs #409 Add RW's FS9 path to directory selection
This commit is contained in:
@@ -39,7 +39,10 @@ namespace BlackSimTest
|
|||||||
|
|
||||||
// mapper with rule set, handing over ownership
|
// mapper with rule set, handing over ownership
|
||||||
CAircraftMapper mapper(std::move(cvm));
|
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))
|
if (!mapper.changeCAircraftCfgEntriesDirectory(fsxDir))
|
||||||
{
|
{
|
||||||
streamOut << "Wrong or empty directoy " << fsxDir << endl;
|
streamOut << "Wrong or empty directoy " << fsxDir << endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user