Commit bac63010 authored by Don Gagne's avatar Don Gagne

commit

parent 07e1d07a
...@@ -691,7 +691,7 @@ bool QGCFlightGearLink::connectSimulation() ...@@ -691,7 +691,7 @@ bool QGCFlightGearLink::connectSimulation()
#elif defined Q_OS_LINUX #elif defined Q_OS_LINUX
// Linux installs to a location on the path so we don't need a directory to run the executable // Linux installs to a location on the path so we don't need a directory to run the executable
fgAppName = "fgfs"; fgAppName = "fgfs";
fgProcessName = "fgfs"; _fgProcessName = "fgfs";
fgRootPath = "/usr/share/games/flightgear/"; // Default Ubuntu location as best guess fgRootPath = "/usr/share/games/flightgear/"; // Default Ubuntu location as best guess
#else #else
#error Unknown OS build flavor #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); MainWindow::instance()->showCriticalMessage(tr("FlightGear Failed to Start"), errMsg);
return false; return false;
} }
#else
Q_UNUSED(fgSceneryDirOverride);
#endif #endif
// Check that we have a good fgRootDir set before we use it to check communication protocol files. // Check that we have a good fgRootDir set before we use it to check communication protocol files.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment