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
8cfd4f8f
Commit
8cfd4f8f
authored
Jul 17, 2013
by
Michael Carpenter
Browse files
Fix for compile error on windows
parent
a12f68ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/XbeeConfigurationWindow.cpp
View file @
8cfd4f8f
...
...
@@ -374,7 +374,7 @@ void XbeeConfigurationWindow::setupPortList()
// Add the ports in reverse order, because we prepend them to the list
for
(
int
i
=
ports
.
size
()
-
1
;
i
>=
0
;
i
--
)
{
QString
portString
=
QString
(
ports
.
at
(
i
).
portName
.
toLocal8Bit
().
constData
());
QString
portString
=
QString
(
ports
.
at
(
i
).
portName
()
.
toLocal8Bit
().
constData
());
// Prepend newly found port to the list
if
(
portBox
->
findText
(
portString
)
==
-
1
)
{
portBox
->
insertItem
(
0
,
portString
);
...
...
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