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
8ffb58a7
Commit
8ffb58a7
authored
Jun 18, 2010
by
lm
Browse files
Fixed minor compile error
parent
c3cf5b7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/QGCParamWidget.cc
View file @
8ffb58a7
...
...
@@ -188,7 +188,7 @@ void QGCParamWidget::addParameter(int uas, int component, QString parameterName,
parameterItem
=
new
QTreeWidgetItem
(
plist
);
compParamGroups
->
value
(
parent
)
->
addChild
(
parameterItem
);
parameterItem
>
setFlags
(
i
tem
->
flags
()
|
Qt
::
ItemIsEditable
);
parameterItem
-
>
setFlags
(
parameterI
tem
->
flags
()
|
Qt
::
ItemIsEditable
);
}
}
else
...
...
@@ -216,14 +216,14 @@ void QGCParamWidget::addParameter(int uas, int component, QString parameterName,
plist
.
append
(
QString
::
number
(
value
));
parameterItem
=
new
QTreeWidgetItem
(
plist
);
comp
ParamGroup
s
->
value
(
par
ent
)
->
addChild
(
parameterItem
);
parameterItem
>
setFlags
(
i
tem
->
flags
()
|
Qt
::
ItemIsEditable
);
comp
onent
s
->
value
(
compon
ent
)
->
addChild
(
parameterItem
);
parameterItem
-
>
setFlags
(
parameterI
tem
->
flags
()
|
Qt
::
ItemIsEditable
);
}
//tree->expandAll();
}
// Reset background color
current
->
setBackground
(
0
,
QBrush
(
Q
Color
(
QGC
::
colorGreen
)
));
current
->
setBackground
(
1
,
QBrush
(
Q
Color
(
QGC
::
colorGreen
)
));
parameterItem
->
setBackground
(
0
,
QBrush
(
Q
t
::
NoBrush
));
parameterItem
->
setBackground
(
1
,
QBrush
(
Q
t
::
NoBrush
));
tree
->
update
();
}
...
...
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