remove now incorrect comment in QFSFileEngine::seek()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-11-07 10:12:58 +02:00
parent 96151d9d14
commit 43b958f258

View file

@ -384,7 +384,6 @@ bool QFSFileEngine::seek(qint64 pos)
if (pos < 0 || pos != qint64(QT_OFF_T(pos)))
return false;
// Unbuffered stdio mode.
if (Q_UNLIKELY(QT_LSEEK(d->fd, QT_OFF_T(pos), SEEK_SET) == -1)) {
qWarning() << "QFile::at: Cannot set file position" << pos;
setError(QFile::PositionError, qt_error_string(errno));