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
7333034f
Commit
7333034f
authored
Jul 01, 2017
by
DonLakeFlyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow telemetry logging on mobile
parent
baf7dc78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
QGCCorePlugin.cc
src/api/QGCCorePlugin.cc
+1
-1
GeneralSettings.qml
src/ui/preferences/GeneralSettings.qml
+2
-2
No files found.
src/api/QGCCorePlugin.cc
View file @
7333034f
...
...
@@ -171,7 +171,7 @@ bool QGCCorePlugin::adjustSettingMetaData(FactMetaData& metaData)
}
else
if
(
metaData
.
name
()
==
AppSettings
::
telemetrySaveName
)
{
#if defined (__mobile__)
metaData
.
setRawDefaultValue
(
false
);
return
fals
e
;
return
tru
e
;
#else
metaData
.
setRawDefaultValue
(
true
);
return
true
;
...
...
src/ui/preferences/GeneralSettings.qml
View file @
7333034f
...
...
@@ -253,7 +253,7 @@ QGCView {
id
:
promptSaveLog
text
:
qsTr
(
"
Save telemetry log after each flight
"
)
fact
:
_telemetrySave
visible
:
!
ScreenTools
.
isMobile
&&
_telemetrySave
.
visible
visible
:
_telemetrySave
.
visible
property
Fact
_telemetrySave
:
QGroundControl
.
settingsManager
.
appSettings
.
telemetrySave
}
//-----------------------------------------------------------------
...
...
@@ -261,7 +261,7 @@ QGCView {
FactCheckBox
{
text
:
qsTr
(
"
Save telemetry log even if vehicle was not armed
"
)
fact
:
_telemetrySaveNotArmed
visible
:
!
ScreenTools
.
isMobile
&&
_telemetrySaveNotArmed
.
visible
visible
:
_telemetrySaveNotArmed
.
visible
enabled
:
promptSaveLog
.
checked
property
Fact
_telemetrySaveNotArmed
:
QGroundControl
.
settingsManager
.
appSettings
.
telemetrySaveNotArmed
}
...
...
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