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
aefcd1cc
Commit
aefcd1cc
authored
Jul 08, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fix
parent
5b0e135e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
QGCApplication.cc
src/QGCApplication.cc
+8
-6
No files found.
src/QGCApplication.cc
View file @
aefcd1cc
...
...
@@ -131,6 +131,14 @@ static QObject* mavManagerSingletonFactory(QQmlEngine*, QJSEngine*)
return
mavManager
;
}
#if defined(QGC_GST_STREAMING)
static
void
qgcputenv
(
const
QString
&
key
,
const
QString
&
root
,
const
QString
&
path
)
{
QString
value
=
root
+
path
;
qputenv
(
key
.
toStdString
().
c_str
(),
QByteArray
(
value
.
toStdString
().
c_str
()));
}
#endif
/**
* @brief Constructor for the main application.
*
...
...
@@ -141,12 +149,6 @@ static QObject* mavManagerSingletonFactory(QQmlEngine*, QJSEngine*)
* @param argv The string array of parameters
**/
static
void
qgcputenv
(
const
QString
&
key
,
const
QString
&
root
,
const
QString
&
path
)
{
QString
value
=
root
+
path
;
qputenv
(
key
.
toStdString
().
c_str
(),
QByteArray
(
value
.
toStdString
().
c_str
()));
}
QGCApplication
::
QGCApplication
(
int
&
argc
,
char
*
argv
[],
bool
unitTesting
)
:
QApplication
(
argc
,
argv
)
,
_runningUnitTests
(
unitTesting
)
...
...
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