Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
bac63010
Commit
bac63010
authored
May 29, 2014
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
07e1d07a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
QGCFlightGearLink.cc
src/comm/QGCFlightGearLink.cc
+3
-1
No files found.
src/comm/QGCFlightGearLink.cc
View file @
bac63010
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment