summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2014-10-14 13:56:01 +0200
committerLeena Miettinen <riitta-leena.miettinen@digia.com>2014-10-20 11:45:12 +0200
commit9dc246c5cccb38d6f4e02af098f1a1a384c11153 (patch)
treef78bfc8ad64bd4f65c2bdeb5de25169e5c64ae2f /src/corelib
parente260e1bcaef123c8250f019b197da10c353eff33 (diff)
Doc: removed unnecessary text
Added some commas. Task-number: QTBUG-41928 Change-Id: I52ad75f895f41b109f0496863930ffaa1650447c Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qfiledevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qfiledevice.cpp b/src/corelib/io/qfiledevice.cpp
index 8691a44d8d..8d1c59e159 100644
--- a/src/corelib/io/qfiledevice.cpp
+++ b/src/corelib/io/qfiledevice.cpp
@@ -608,9 +608,9 @@ qint64 QFileDevice::size() const
}
/*!
- Sets the file size (in bytes) \a sz. Returns \c true if the file if the
+ Sets the file size (in bytes) \a sz. Returns \c true if the
resize succeeds; false otherwise. If \a sz is larger than the file
- currently is the new bytes will be set to 0, if \a sz is smaller the
+ currently is, the new bytes will be set to 0; if \a sz is smaller, the
file is simply truncated.
\sa size()