Commit 8cfd4f8f authored by Michael Carpenter's avatar Michael Carpenter

Fix for compile error on windows

parent a12f68ca
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment