Remove deprecated QDataStream::unsetDevice()

Deprecated since 5.13.

Change-Id: I9f8f58fb92bc12d32eab5b0ae8611611fe2481e5
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Edward Welbourne 2020-07-20 14:03:10 +02:00
parent 3f0c2ed9ac
commit ae9a16b5cd
2 changed files with 0 additions and 17 deletions

View File

@ -396,19 +396,6 @@ void QDataStream::setDevice(QIODevice *d)
dev = d;
}
#if QT_DEPRECATED_SINCE(5, 13)
/*!
\obsolete
Unsets the I/O device.
Use setDevice(nullptr) instead.
*/
void QDataStream::unsetDevice()
{
setDevice(nullptr);
}
#endif
/*!
\fn bool QDataStream::atEnd() const

View File

@ -127,10 +127,6 @@ public:
QIODevice *device() const;
void setDevice(QIODevice *);
#if QT_DEPRECATED_SINCE(5, 13)
QT_DEPRECATED_X("Use QDataStream::setDevice(nullptr) instead")
void unsetDevice();
#endif
bool atEnd() const;