Make imageprovider ascynchronous
This commit is contained in:
parent
061a66caae
commit
1ef3d590fc
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ QStringList get_addr(Bytestream& bts)
|
||||||
return addr;
|
return addr;
|
||||||
}
|
}
|
||||||
|
|
||||||
IppDiscovery::IppDiscovery() : QStringListModel(), QQuickImageProvider(QQuickImageProvider::Image)
|
IppDiscovery::IppDiscovery() : QStringListModel(), QQuickImageProvider(QQuickImageProvider::Image, ForceAsynchronousImageLoading)
|
||||||
{
|
{
|
||||||
socket = new QUdpSocket(this);
|
socket = new QUdpSocket(this);
|
||||||
connect(socket, SIGNAL(readyRead()),
|
connect(socket, SIGNAL(readyRead()),
|
||||||
|
|
Loading…
Reference in a new issue