diff options
author | kh1 <qt-info@nokia.com> | 2011-06-24 14:35:27 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-06-24 14:35:27 +0200 |
commit | 242973f1d5717c818e795ae9f48568b538fe2b44 (patch) | |
tree | 18456bfe48258b1000d47d9e8957e5e621b021b2 /installerbuilder/common/binaryformat.cpp | |
parent | dbd06849c9895afe639ea55c96e89b20b2b4d66f (diff) |
In case we are the installer do not close the file.
This is only the case for offline installer, as all resources
are attached to the binary. Once we close the file, we are unable
to read any resource like archives, operations etc... This fixes
the crash seen by Maurice using the offline installer.
Diffstat (limited to 'installerbuilder/common/binaryformat.cpp')
-rw-r--r-- | installerbuilder/common/binaryformat.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/installerbuilder/common/binaryformat.cpp b/installerbuilder/common/binaryformat.cpp index 72ab9db48..feb8cec42 100644 --- a/installerbuilder/common/binaryformat.cpp +++ b/installerbuilder/common/binaryformat.cpp @@ -1031,7 +1031,6 @@ int BinaryContent::registerEmbeddedQResources() foreach (const Range<qint64> &i, metadataResourceSegments) mappings.append(addResourceFromBinary(data, i, hasBinaryDataFile)); - file.clear(); if (hasBinaryDataFile) m_binaryFile.clear(); |