atmoorb qt5 fix (#683)

Former-commit-id: 64ce9cd676059d5225493a97c89b83f589f68417
This commit is contained in:
brindosch 2016-06-07 13:17:40 +02:00
parent 9578a3e386
commit ad65ca2983

View File

@ -30,7 +30,7 @@ LedDeviceAtmoOrb::LedDeviceAtmoOrb(
groupAddress = QHostAddress(multicastGroup);
udpSocket = new QUdpSocket(this);
udpSocket->bind(multiCastGroupPort, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint);
udpSocket->bind(QHostAddress::AnyIPv4, multiCastGroupPort, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint);
joinedMulticastgroup = udpSocket->joinMulticastGroup(groupAddress);
}