summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/binarycontent.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-08-27 10:51:40 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-08-29 12:40:05 +0200
commitdf2663a932ffc1e68fbde4b9c60efb93e36b519e (patch)
tree93277db0760329fcf544dae99398a49a9ca74756 /src/libs/installer/binarycontent.h
parentcf60ba8b28282d9ab08e53850b5d65a4454966f3 (diff)
Let the binary layout function find the cookie on its own.
Saves some ugly looking call convention, as we need to find the cookie anyway, pass the cookie instead of the position. Change-Id: I2227576a8ad251fac5312fc477f8381287b0d36d Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/libs/installer/binarycontent.h')
-rw-r--r--src/libs/installer/binarycontent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/binarycontent.h b/src/libs/installer/binarycontent.h
index f553b8b9a..edbf54f07 100644
--- a/src/libs/installer/binarycontent.h
+++ b/src/libs/installer/binarycontent.h
@@ -87,8 +87,8 @@ public:
static BinaryContent readFromBinary(const QString &path);
static BinaryContent readAndRegisterFromBinary(const QString &path);
- static BinaryLayout readBinaryLayout(QFile *const file, qint64 cookiePos);
static qint64 findMagicCookie(QFile *file, quint64 magicCookie);
+ static BinaryLayout binaryLayout(QFile *file, quint64 magicCookie);
int registerPerformedOperations();
OperationList performedOperations() const;