UDP sink: removed queued connection on socket connection (gets stuck with Qt >= 5.8)

pull/228/head
f4exb 2018-08-15 02:48:59 +02:00
rodzic a7e63df13d
commit 65d2d2a664
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -27,7 +27,7 @@
const PluginDescriptor UDPSinkPlugin::m_pluginDescriptor = {
QString("UDP Channel Sink"),
QString("4.0.6"),
QString("4.0.7"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,

Wyświetl plik

@ -66,7 +66,7 @@ void UDPSinkUDPHandler::start()
if (m_dataSocket->bind(m_dataAddress, m_dataPort))
{
qDebug("UDPSinkUDPHandler::start: bind data socket to %s:%d", m_dataAddress.toString().toStdString().c_str(), m_dataPort);
connect(m_dataSocket, SIGNAL(readyRead()), this, SLOT(dataReadyRead()), Qt::QueuedConnection); // , Qt::QueuedConnection
connect(m_dataSocket, SIGNAL(readyRead()), this, SLOT(dataReadyRead())); // , Qt::QueuedConnection gets stuck since Qt 5.8.0
m_dataConnected = true;
}
else