Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
6ab9cd52
Commit
6ab9cd52
authored
Aug 02, 2016
by
Rustom Jehangir
Browse files
Hide radio rssi icon from toolbar if radio is not supported
parent
612ea385
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Vehicle/Vehicle.h
View file @
6ab9cd52
...
...
@@ -278,6 +278,7 @@ public:
Q_PROPERTY
(
bool
supportsManualControl
READ
supportsManualControl
CONSTANT
)
Q_PROPERTY
(
bool
supportsThrottleModeCenterZero
READ
supportsThrottleModeCenterZero
CONSTANT
)
Q_PROPERTY
(
bool
supportsJSButton
READ
supportsJSButton
CONSTANT
)
Q_PROPERTY
(
bool
supportsRadio
READ
supportsRadio
CONSTANT
)
Q_PROPERTY
(
bool
sub
READ
sub
CONSTANT
)
Q_PROPERTY
(
bool
autoDisconnect
MEMBER
_autoDisconnect
NOTIFY
autoDisconnectChanged
)
Q_PROPERTY
(
QString
prearmError
READ
prearmError
WRITE
setPrearmError
NOTIFY
prearmErrorChanged
)
...
...
src/ui/toolbar/MainToolBarIndicators.qml
View file @
6ab9cd52
...
...
@@ -168,6 +168,7 @@ Row {
id
:
rcRssi
width
:
rssiRow
.
width
*
1.1
height
:
mainWindow
.
tbCellHeight
visible
:
activeVehicle
?
activeVehicle
.
supportsRadio
:
true
Row
{
id
:
rssiRow
height
:
parent
.
height
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment