QByteDeviceWrappingIoDevice: change to use QObject::connect PMF syntax
Task-number: QTBUG-122619 Change-Id: I1128f2bd42ba6dc1227e62264427418ecbf80b27 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>bb10
parent
8250f6f1ee
commit
db818849c1
|
|
@ -380,7 +380,7 @@ qint64 QNonContiguousByteDeviceIoDeviceImpl::pos() const
|
|||
QByteDeviceWrappingIoDevice::QByteDeviceWrappingIoDevice(QNonContiguousByteDevice *bd)
|
||||
: QIODevice(nullptr), byteDevice(bd)
|
||||
{
|
||||
connect(bd, SIGNAL(readyRead()), SIGNAL(readyRead()));
|
||||
connect(bd, &QNonContiguousByteDevice::readyRead, this, &QIODevice::readyRead);
|
||||
|
||||
open(ReadOnly);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue