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
Juha Vuolle 2024-04-15 11:13:42 +03:00
parent 8250f6f1ee
commit db818849c1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}