diff options
Diffstat (limited to 'src/corelib/io/qfiledevice.cpp')
-rw-r--r-- | src/corelib/io/qfiledevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qfiledevice.cpp b/src/corelib/io/qfiledevice.cpp index ab37d6f4d7..2f99775c65 100644 --- a/src/corelib/io/qfiledevice.cpp +++ b/src/corelib/io/qfiledevice.cpp @@ -615,6 +615,8 @@ qint64 QFileDevice::size() const currently is, the new bytes will be set to 0; if \a sz is smaller, the file is simply truncated. + \warning This function can fail if the file doesn't exist. + \sa size() */ bool QFileDevice::resize(qint64 sz) |