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
d7692ead
Commit
d7692ead
authored
Aug 30, 2019
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
091fd77e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
QGroundControlQmlGlobal.cc
src/QmlControls/QGroundControlQmlGlobal.cc
+11
-0
QGroundControlQmlGlobal.h
src/QmlControls/QGroundControlQmlGlobal.h
+4
-4
No files found.
src/QmlControls/QGroundControlQmlGlobal.cc
View file @
d7692ead
...
...
@@ -248,3 +248,14 @@ void QGroundControlQmlGlobal::setFlightMapZoom(double zoom)
emit
flightMapZoomChanged
(
zoom
);
}
}
QString
QGroundControlQmlGlobal
::
qgcVersion
(
void
)
const
{
QString
versionStr
=
qgcApp
()
->
applicationVersion
();
#ifdef __androidArm32__
versionStr
+=
QStringLiteral
(
" %1"
).
arg
(
tr
(
"32 bit"
));
#elif __androidArm64__
versionStr
+=
QStringLiteral
(
" %1"
).
arg
(
tr
(
"64 bit"
));
#endif
return
versionStr
;
}
src/QmlControls/QGroundControlQmlGlobal.h
View file @
d7692ead
...
...
@@ -227,11 +227,11 @@ public:
void
setFlightMapPosition
(
QGeoCoordinate
&
coordinate
);
void
setFlightMapZoom
(
double
zoom
);
QString
parameterFileExtension
(
void
)
const
{
return
AppSettings
::
parameterFileExtension
;
}
QString
missionFileExtension
(
void
)
const
{
return
AppSettings
::
missionFileExtension
;
}
QString
telemetryFileExtension
(
void
)
const
{
return
AppSettings
::
telemetryFileExtension
;
}
QString
parameterFileExtension
(
void
)
const
{
return
AppSettings
::
parameterFileExtension
;
}
QString
missionFileExtension
(
void
)
const
{
return
AppSettings
::
missionFileExtension
;
}
QString
telemetryFileExtension
(
void
)
const
{
return
AppSettings
::
telemetryFileExtension
;
}
QString
qgcVersion
(
void
)
const
{
return
qgcApp
()
->
applicationVersion
();
}
QString
qgcVersion
(
void
)
const
;
#if defined(QGC_AIRMAP_ENABLED)
bool
airmapSupported
()
{
return
true
;
}
...
...
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