diff options
author | kh1 <karsten.heimrich@digia.com> | 2014-10-09 12:15:46 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2014-10-09 13:07:01 +0200 |
commit | 9d4950068c3eb98f736b725d29395484b9aee6c6 (patch) | |
tree | 662c6667cb1933ce7b5608c35eb6d66433ca602a /src/libs/installer/binaryformatenginehandler.cpp | |
parent | 6ff29de7486afe9b6b58d0ea060100a7ba0b8c85 (diff) |
Name the collection, otherwise leads to hangs or crashes.
Change-Id: I70302eb81479ced3bc8b6c15afd277ff5a1cc43a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Diffstat (limited to 'src/libs/installer/binaryformatenginehandler.cpp')
-rw-r--r-- | src/libs/installer/binaryformatenginehandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/installer/binaryformatenginehandler.cpp b/src/libs/installer/binaryformatenginehandler.cpp index 8df9249bc..3388c5800 100644 --- a/src/libs/installer/binaryformatenginehandler.cpp +++ b/src/libs/installer/binaryformatenginehandler.cpp @@ -83,6 +83,8 @@ BinaryFormatEngineHandler::registerResource(const QString &fileName, const QStri const QByteArray resourceName = path.section(sep, 1, 1).toUtf8(); const QByteArray collectionName = path.section(sep, 0, 0).toUtf8(); + + m_resources[collectionName].setName(collectionName); m_resources[collectionName].appendResource(QSharedPointer<Resource>(new Resource(resourceName, resourcePath))); } |