force queued connection for readyRead on node socket in case it moves, closes #1685

This commit is contained in:
Stephen Birarda 2014-01-31 17:09:08 -08:00
parent 6129f07ed4
commit c754663582

View file

@ -90,7 +90,8 @@ AssignmentClient::AssignmentClient(int &argc, char **argv) :
timer->start(ASSIGNMENT_REQUEST_INTERVAL_MSECS);
// connect our readPendingDatagrams method to the readyRead() signal of the socket
connect(&nodeList->getNodeSocket(), SIGNAL(readyRead()), this, SLOT(readPendingDatagrams()));
connect(&nodeList->getNodeSocket(), &QUdpSocket::readyRead, this, &AssignmentClient::readPendingDatagrams,
Qt::QueuedConnection);
}
void AssignmentClient::sendAssignmentRequest() {