diff options
Diffstat (limited to 'src/libs/installer/binaryformatenginehandler.cpp')
-rw-r--r-- | src/libs/installer/binaryformatenginehandler.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libs/installer/binaryformatenginehandler.cpp b/src/libs/installer/binaryformatenginehandler.cpp index d872ed229..1364ff431 100644 --- a/src/libs/installer/binaryformatenginehandler.cpp +++ b/src/libs/installer/binaryformatenginehandler.cpp @@ -122,3 +122,10 @@ void BinaryFormatEngineHandler::registerArchive(const QString &pathName, const Q c.appendArchive(newArchive); d->index.insertComponent(c); } + +void BinaryFormatEngineHandler::resetRegisteredArchives() +{ + QVector<QInstallerCreator::Component> registeredComponents = d->index.components(); + foreach (const QInstallerCreator::Component &component, registeredComponents) + d->index.removeComponent(component.name()); +} |