Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qgroundcontrol
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Valentin Platzgummer
qgroundcontrol
Commits
a88bef0a
Commit
a88bef0a
authored
6 years ago
by
Don Gagne
Browse files
Options
Downloads
Patches
Plain Diff
Allow custom builds to turn off firmware version check
parent
73a900d4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/api/QGCOptions.h
+2
-0
2 additions, 0 deletions
src/api/QGCOptions.h
with
2 additions
and
0 deletions
src/api/QGCOptions.h
+
2
−
0
View file @
a88bef0a
...
...
@@ -52,6 +52,7 @@ public:
Q_PROPERTY
(
bool
disableVehicleConnection
READ
disableVehicleConnection
CONSTANT
)
Q_PROPERTY
(
float
devicePixelRatio
READ
devicePixelRatio
NOTIFY
devicePixelRatioChanged
)
Q_PROPERTY
(
float
devicePixelDensity
READ
devicePixelDensity
NOTIFY
devicePixelDensityChanged
)
Q_PROPERTY
(
bool
checkFirmwareVersion
READ
checkFirmwareVersion
CONSTANT
)
/// Should QGC hide its settings menu and colapse it into one single menu (Settings and Vehicle Setup)?
/// @return true if QGC should consolidate both menus into one.
...
...
@@ -94,6 +95,7 @@ public:
virtual
bool
showMissionAbsoluteAltitude
()
const
{
return
true
;
}
virtual
bool
showSimpleMissionStart
()
const
{
return
false
;
}
virtual
bool
disableVehicleConnection
()
const
{
return
false
;
}
///< true: vehicle connection is disabled
virtual
bool
checkFirmwareVersion
()
const
{
return
true
;
}
#if defined(__mobile__)
virtual
bool
useMobileFileDialog
()
const
{
return
true
;}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment