summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/binaryformat.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2012-11-20 15:59:59 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2012-11-21 10:25:14 +0100
commit46c8887c224f9653c3351eb1474ab3966c3e1215 (patch)
treed69fff6ee8b6b8b4ddbdf6d50f3f0d2786a4c6be /src/libs/installer/binaryformat.h
parent004ba0b129a701ad9bc29f2350c723641416c69f (diff)
Fix dangling resource data.
Task-number: QTIFW-168 Use QByteArray as a data container for resources to keep a reference to that data till the data is needed / the QByteArray exists. Change-Id: I2436ae2204bd1bdb834e6c8e434b2673b12c4fad Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/binaryformat.h')
-rw-r--r--src/libs/installer/binaryformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/binaryformat.h b/src/libs/installer/binaryformat.h
index ae3b93006..a3284d58e 100644
--- a/src/libs/installer/binaryformat.h
+++ b/src/libs/installer/binaryformat.h
@@ -207,7 +207,7 @@ public:
QList<Operation *> m_performedOperations;
QList<QPair<QString, QString> > m_performedOperationsData;
- QVector<const uchar *> m_resourceMappings;
+ QVector<QByteArray> m_resourceMappings;
QVector<Range<qint64> > m_metadataResourceSegments;
QInstallerCreator::ComponentIndex m_componentIndex;