multistreamserver: fix compilation

Instead of including <QIODevice>, use the correct 'nested name
specifier', QIODeviceBase.

Amends 8bd0a09475.

Pick-to: 6.2
Change-Id: I077948b33f985cd4a2e3a9e591645cf20d7af91c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Marc Mutz 2021-11-17 14:02:33 +01:00
parent dca63b6ef6
commit 34c7018a52

View File

@ -71,7 +71,7 @@ void TimeProvider::readDatagram(QSctpSocket &from, const QByteArray &ba)
|| curTime.minute() != clientTime.minute()
|| curTime.hour() != clientTime.hour()) {
QByteArray buf;
QDataStream out_ds(&buf, QIODevice::WriteOnly);
QDataStream out_ds(&buf, QIODeviceBase::WriteOnly);
out_ds << curTime;
emit writeDatagram(&from, buf);