From cab3405ad2b0d269924a93263298304bff8807eb Mon Sep 17 00:00:00 2001 From: Karsten Heimrich Date: Tue, 1 Sep 2015 14:00:17 +0200 Subject: Missed to rename classes and to update docs and tests. Change-Id: I2d79ab4094cb9706287d44160543c19b35a66c95 Reviewed-by: Niels Weber --- src/libs/installer/packagemanagercore.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs/installer/packagemanagercore.cpp') diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp index c5cfeb5e9..1f32b9119 100644 --- a/src/libs/installer/packagemanagercore.cpp +++ b/src/libs/installer/packagemanagercore.cpp @@ -639,7 +639,7 @@ int PackageManagerCore::downloadNeededArchives(double partProgressSize) DownloadArchivesJob archivesJob(this); archivesJob.setAutoDelete(false); archivesJob.setArchivesToDownload(archivesToDownload); - connect(this, &PackageManagerCore::installationInterrupted, &archivesJob, &KDJob::cancel); + connect(this, &PackageManagerCore::installationInterrupted, &archivesJob, &Job::cancel); connect(&archivesJob, &DownloadArchivesJob::outputTextChanged, ProgressCoordinator::instance(), &ProgressCoordinator::emitLabelAndDetailTextChanged); connect(&archivesJob, &DownloadArchivesJob::downloadStatusChanged, @@ -651,9 +651,9 @@ int PackageManagerCore::downloadNeededArchives(double partProgressSize) archivesJob.start(); archivesJob.waitForFinished(); - if (archivesJob.error() == KDJob::Canceled) + if (archivesJob.error() == Job::Canceled) interrupt(); - else if (archivesJob.error() != KDJob::NoError) + else if (archivesJob.error() != Job::NoError) throw Error(archivesJob.errorString()); if (d->statusCanceledOrFailed()) -- cgit v1.2.3