From 0d8fe298bcd7f0ae32f3b5b0f8040a67df3eda02 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 9 Jan 2021 13:02:34 +0200 Subject: [PATCH] fix regression since b3722d96b0d97638a45d2b40f607eed510d89d41 Signed-off-by: Ivailo Monev --- src/core/io/qbuffer.cpp | 2 +- src/core/io/qbuffer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/io/qbuffer.cpp b/src/core/io/qbuffer.cpp index 88f2a78e5..4a89e22bd 100644 --- a/src/core/io/qbuffer.cpp +++ b/src/core/io/qbuffer.cpp @@ -342,7 +342,7 @@ qint64 QBuffer::size() const /*! \reimp */ -bool QBuffer::seek(const qint64 pos) +bool QBuffer::seek(qint64 pos) { Q_D(QBuffer); if (pos > d->buf->size() && isWritable()) { diff --git a/src/core/io/qbuffer.h b/src/core/io/qbuffer.h index 365941366..8fadc42ed 100644 --- a/src/core/io/qbuffer.h +++ b/src/core/io/qbuffer.h @@ -70,7 +70,7 @@ public: bool open(OpenMode openMode); qint64 size() const; - bool seek(const qint64 off); + bool seek(qint64 off); bool canReadLine() const; protected: -- 2.11.0