diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-06-11 13:48:24 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-06-16 17:56:56 +0200 |
commit | 12b0bad6c7ca12a0623b6858d8eab6a7c4e5acff (patch) | |
tree | 6e514621ea8c39ce16dd9633e14c40611e890c14 /src/libs/installer/binaryformat.cpp | |
parent | 995fd6b3e38d3976aa772e8d33d44daa6a4461b9 (diff) |
Add important note.
Change-Id: Ifa7364d561b8fbb3370f8e3930e62c040280fe17
Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer/binaryformat.cpp')
-rw-r--r-- | src/libs/installer/binaryformat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/installer/binaryformat.cpp b/src/libs/installer/binaryformat.cpp index be5ff843b..58b46d64c 100644 --- a/src/libs/installer/binaryformat.cpp +++ b/src/libs/installer/binaryformat.cpp @@ -207,6 +207,9 @@ QByteArray QInstaller::retrieveCompressedData(QIODevice *in, qint64 size) /*! Search through 1MB, if smaller through the whole file. Note: QFile::map() does not change QFile::pos(). Fallback to read the file content in case we can't map it. + + Note: Failing to map the file can happen for example while having a remote connection + established to the admin server process and we do not support map over the socket. */ qint64 QInstaller::findMagicCookie(QFile *in, quint64 magicCookie) { |