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
7aef7fcf
Commit
7aef7fcf
authored
Jun 09, 2013
by
Bryant
Browse files
Missed compilation error during rebase
parent
0a1c6784
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/uas/UASQuickView.cc
View file @
7aef7fcf
...
...
@@ -151,7 +151,6 @@ void UASQuickView::setActiveUAS(UASInterface* uas)
{
if
(
this
->
uas
)
{
uasPropertyList
.
clear
();
uasPropertyValueMap
.
clear
();
foreach
(
UASQuickViewItem
*
i
,
uasPropertyToLabelMap
.
values
())
{
...
...
@@ -332,6 +331,13 @@ void UASQuickView::valueChanged(const int uasId, const QString& name, const QStr
Q_UNUSED
(
uasId
);
Q_UNUSED
(
unit
);
Q_UNUSED
(
msec
);
if
(
!
uasPropertyValueMap
.
contains
(
name
))
{
if
(
quickViewSelectDialog
)
{
quickViewSelectDialog
->
addItem
(
name
);
}
}
uasPropertyValueMap
[
name
]
=
value
.
toDouble
();
}
...
...
@@ -358,14 +364,6 @@ void UASQuickView::actionTriggered(bool checked)
}
}
void
UASQuickView
::
valueChanged
(
const
int
uasid
,
const
QString
&
name
,
const
QString
&
unit
,
const
QVariant
value
,
const
quint64
msecs
)
{
Q_UNUSED
(
uasid
);
Q_UNUSED
(
unit
);
Q_UNUSED
(
msecs
);
uasPropertyValueMap
[
name
]
=
value
.
toDouble
();
}
void
UASQuickView
::
valChanged
(
double
val
,
QString
type
)
{
Q_UNUSED
(
val
);
...
...
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