Browse Source

commit

QGC4.4
Don Gagne 11 years ago
parent
commit
bac63010ea
  1. 4
      src/comm/QGCFlightGearLink.cc

4
src/comm/QGCFlightGearLink.cc

@ -691,7 +691,7 @@ bool QGCFlightGearLink::connectSimulation() @@ -691,7 +691,7 @@ bool QGCFlightGearLink::connectSimulation()
#elif defined Q_OS_LINUX
// Linux installs to a location on the path so we don't need a directory to run the executable
fgAppName = "fgfs";
fgProcessName = "fgfs";
_fgProcessName = "fgfs";
fgRootPath = "/usr/share/games/flightgear/"; // Default Ubuntu location as best guess
#else
#error Unknown OS build flavor
@ -786,6 +786,8 @@ bool QGCFlightGearLink::connectSimulation() @@ -786,6 +786,8 @@ bool QGCFlightGearLink::connectSimulation()
MainWindow::instance()->showCriticalMessage(tr("FlightGear Failed to Start"), errMsg);
return false;
}
#else
Q_UNUSED(fgSceneryDirOverride);
#endif
// Check that we have a good fgRootDir set before we use it to check communication protocol files.

Loading…
Cancel
Save