summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/packagemanagercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'installerbuilder/libinstaller/packagemanagercore.cpp')
-rw-r--r--installerbuilder/libinstaller/packagemanagercore.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore.cpp b/installerbuilder/libinstaller/packagemanagercore.cpp
index 9bcfb308d..0b24152c0 100644
--- a/installerbuilder/libinstaller/packagemanagercore.cpp
+++ b/installerbuilder/libinstaller/packagemanagercore.cpp
@@ -364,8 +364,7 @@ int PackageManagerCore::downloadNeededArchives(double partProgressSize)
ProgressCoordinator::instance()->emitLabelAndDetailTextChanged(tr("\nDownloading packages..."));
// don't have it on the stack, since it keeps the temporary files
- DownloadArchivesJob *const archivesJob =
- new DownloadArchivesJob(d->m_settings.publicKey(), this);
+ DownloadArchivesJob *const archivesJob = new DownloadArchivesJob(this);
archivesJob->setAutoDelete(false);
archivesJob->setArchivesToDownload(archivesToDownload);
connect(this, SIGNAL(installationInterrupted()), archivesJob, SLOT(cancel()));