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
4bfc1f3b
Commit
4bfc1f3b
authored
Dec 31, 2014
by
Don Gagne
Browse files
Switched WiFi to UDP
parent
c81927fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/QGCToolBar.cc
View file @
4bfc1f3b
...
...
@@ -162,7 +162,7 @@ void QGCToolBar::createUI()
addWidget
(
spacer
);
_linkCombo
=
new
QComboBox
(
this
);
_linkCombo
->
addItem
(
"
WiFi
"
);
_linkCombo
->
addItem
(
"
UDP
"
);
connect
(
_linkCombo
,
SIGNAL
(
activated
(
int
)),
SLOT
(
_linkComboActivated
(
int
)));
_linkCombo
->
setToolTip
(
tr
(
"Choose the link to use"
));
...
...
@@ -701,7 +701,7 @@ void QGCToolBar::_connectButtonClicked(bool checked)
QString
linkName
=
_linkCombo
->
currentText
();
if
(
linkName
==
"
WiFi
"
)
{
if
(
linkName
==
"
UDP
"
)
{
UDPLink
*
link
=
new
UDPLink
;
Q_CHECK_PTR
(
link
);
...
...
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