diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-20 09:30:00 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-20 21:09:00 +0200 |
commit | b6cd3bca280bd81e932ff51a3ec2b9fc70231646 (patch) | |
tree | f77332d26736b7b112dfc0737555d08ffac40975 /src/corelib/io/qiodevice.cpp | |
parent | 80a2878e201f294697d69b7606571a036c36a19d (diff) |
Whitespace cleanup in corelib/iov6.0.0-beta2
Selective application of clang-format to follow our coding style where
it is significantly off.
Change-Id: I0ff4ed146fe53922691d5473d0c236f31d478a04
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/io/qiodevice.cpp')
-rw-r--r-- | src/corelib/io/qiodevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp index 48f259e350..5c8c0e6a27 100644 --- a/src/corelib/io/qiodevice.cpp +++ b/src/corelib/io/qiodevice.cpp @@ -846,7 +846,7 @@ qint64 QIODevice::pos() const */ qint64 QIODevice::size() const { - return d_func()->isSequential() ? bytesAvailable() : qint64(0); + return d_func()->isSequential() ? bytesAvailable() : qint64(0); } /*! @@ -1353,7 +1353,7 @@ qint64 QIODevice::readLine(char *data, qint64 maxSize) // QRingBuffer::readLine() terminates the line with '\0' readSoFar = d->buffer.readLine(data, maxSize + 1); if (d->buffer.isEmpty()) - readData(data,0); + readData(data, 0); if (!sequential) d->pos += readSoFar; } |