LibreVNA-GUI: Specify namespace for Qt::flush
This commit fixes compilation errors related to flush scoping.
This commit is contained in:
parent
54de9fd6b0
commit
f4b8a0b3ad
@ -64,7 +64,7 @@ USBDevice::USBDevice(QString serial)
|
||||
libusb_exit(m_context);
|
||||
throw std::runtime_error(message.toStdString());
|
||||
}
|
||||
qInfo() << "USB connection established" << flush;
|
||||
qInfo() << "USB connection established" << Qt::flush;
|
||||
}
|
||||
|
||||
USBDevice::~USBDevice()
|
||||
|
@ -128,7 +128,7 @@ bool LibreVNATCPDriver::connectTo(QString serial)
|
||||
connect(&dataSocket, qOverload<QAbstractSocket::SocketError>(&QTcpSocket::error), this, &LibreVNATCPDriver::ConnectionLost, Qt::QueuedConnection);
|
||||
connect(&logSocket, qOverload<QAbstractSocket::SocketError>(&QTcpSocket::error), this, &LibreVNATCPDriver::ConnectionLost, Qt::QueuedConnection);
|
||||
|
||||
qInfo() << "TCP connection established" << flush;
|
||||
qInfo() << "TCP connection established" << Qt::flush;
|
||||
this->serial = serial;
|
||||
connected = true;
|
||||
|
||||
|
@ -211,7 +211,7 @@ bool LibreVNAUSBDriver::connectTo(QString serial)
|
||||
libusb_exit(m_context);
|
||||
throw std::runtime_error(message.toStdString());
|
||||
}
|
||||
qInfo() << "USB connection established" << flush;
|
||||
qInfo() << "USB connection established" << Qt::flush;
|
||||
connected = true;
|
||||
m_receiveThread = new std::thread(&LibreVNAUSBDriver::USBHandleThread, this);
|
||||
dataBuffer = new USBInBuffer(m_handle, EP_Data_In_Addr, 65536);
|
||||
|
Loading…
Reference in New Issue
Block a user