diff options
author | kh1 <qt-info@nokia.com> | 2011-06-24 14:33:26 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-06-24 14:33:26 +0200 |
commit | dbd06849c9895afe639ea55c96e89b20b2b4d66f (patch) | |
tree | 3695577c19c48c85483df4dba0fcf6d421a99894 /installerbuilder/common/binaryformat.cpp | |
parent | ac4acfb9d54471223d81335d0b9f28949e83d71b (diff) |
Revert the revert commits as they do not fix the crash.
I was trying to fix a crash in binary format handler that I
thought was caused be removing these classes. Still this wasn't
the case after some debugging, and, we really don't need them.
Diffstat (limited to 'installerbuilder/common/binaryformat.cpp')
-rw-r--r-- | installerbuilder/common/binaryformat.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/installerbuilder/common/binaryformat.cpp b/installerbuilder/common/binaryformat.cpp index 6c63466f5..72ab9db48 100644 --- a/installerbuilder/common/binaryformat.cpp +++ b/installerbuilder/common/binaryformat.cpp @@ -34,7 +34,6 @@ #include "errors.h" #include "fileutils.h" -#include "kd7zenginehandler.h" #include "lib7z_facade.h" #include "utils.h" #include "zipjob.h" @@ -692,13 +691,8 @@ QSharedPointer<Archive> Component::archiveByName(const QByteArray &name) const // -- ComponentIndex -KD7zEngineHandler* ComponentIndex::zipHandler = 0; ComponentIndex::ComponentIndex() { - if (zipHandler == 0) { - // TODO: this one get leaked - zipHandler = new KD7zEngineHandler; - } } ComponentIndex ComponentIndex::read(QIODevice *dev, qint64 offset) |