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
7aef7fcf
Commit
7aef7fcf
authored
Jun 09, 2013
by
Bryant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missed compilation error during rebase
parent
0a1c6784
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
UASQuickView.cc
src/ui/uas/UASQuickView.cc
+7
-9
No files found.
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
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