MainWindow::instance()->showCriticalMessage(tr("FlightGear Failed to Start"),tr("TerraSync was not found at %1").arg(processTerraSync));
sane=false;
}
// QFileInfo executable(processFgfs);
// if (!executable.isExecutable())
// {
// MainWindow::instance()->showCriticalMessage(tr("FlightGear Failed to Start"), tr("FlightGear was not found at %1").arg(processFgfs));
// sane = false;
// }
// QFileInfo root(fgRoot);
// if (!root.isDir())
// {
// MainWindow::instance()->showCriticalMessage(tr("FlightGear Failed to Start"), tr("FlightGear data directory was not found at %1").arg(fgRoot));
// sane = false;
// }
// QFileInfo scenery(fgScenery);
// if (!scenery.isDir())
// {
// MainWindow::instance()->showCriticalMessage(tr("FlightGear Failed to Start"), tr("FlightGear scenery directory was not found at %1").arg(fgScenery));
flightGearArguments<<QString("--fg-scenery=%1:%2").arg(fgScenery).arg(terraSyncScenery);//according to http://wiki.flightgear.org/TerraSync a separate directory is used
flightGearArguments<<QString("--fg-scenery=%1:%2").arg(terraSyncScenery);//according to http://wiki.flightgear.org/TerraSync a separate directory is used