Browse Source

Fix for compile error on windows

QGC4.4
Michael Carpenter 12 years ago
parent
commit
8cfd4f8f1b
  1. 2
      src/ui/XbeeConfigurationWindow.cpp

2
src/ui/XbeeConfigurationWindow.cpp

@ -374,7 +374,7 @@ void XbeeConfigurationWindow::setupPortList() @@ -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);

Loading…
Cancel
Save