diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-02-27 17:05:10 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-02-28 15:01:42 +0100 |
commit | d15fee8a32e2b6855f6f3e3d2b81d330f1d3d894 (patch) | |
tree | 6b54fd6ab305f8a1f8fe2e9f6e51da7cb66cfbb2 /installerbuilder/installerbase/installerbase.cpp | |
parent | a7c900ce4b6f33f14e1abe9f2dba70f6a16b2105 (diff) |
Make use of the new functions from binary content.
Change-Id: I343db92a16058062f356388f2351bdc7f0c6b05b
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Diffstat (limited to 'installerbuilder/installerbase/installerbase.cpp')
-rw-r--r-- | installerbuilder/installerbase/installerbase.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/installerbuilder/installerbase/installerbase.cpp b/installerbuilder/installerbase/installerbase.cpp index b4fbd0771..9bc244e55 100644 --- a/installerbuilder/installerbase/installerbase.cpp +++ b/installerbuilder/installerbase/installerbase.cpp @@ -247,9 +247,8 @@ int main(int argc, char *argv[]) // the uninstaller for the recorded list of during the installation performed operations QInstaller::init(); - // load the embedded binary resource - BinaryContent content = BinaryContent::readFromApplicationFile(); - content.registerEmbeddedQResources(); + // load and map the embedded binary resource, registers operations + BinaryContent content = BinaryContent::readAndRegisterFromApplicationFile(); // instantiate the installer we are actually going to use QInstaller::PackageManagerCore core(content.magicMarker(), content.performedOperations()); |