From 64016f5660b4bd26eb277a9f94d48a72fd8afbf2 Mon Sep 17 00:00:00 2001 From: Richard Dale Date: Thu, 26 Jun 2008 18:39:52 +0000 Subject: [PATCH] * Oops, got move and copy error messages round the wrong way. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824862 --- package.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.cpp b/package.cpp index 12c88e0fb..b9fcbafec 100644 --- a/package.cpp +++ b/package.cpp @@ -281,7 +281,7 @@ bool Package::installPackage(const QString& package, // it's in a temp dir, so just move it over. KIO::CopyJob *job = KIO::move(KUrl(path), KUrl(targetName), KIO::HideProgressInfo); if (!job->exec()) { - kWarning() << "Could not copy package to destination:" << targetName << " : " << job->errorString(); + kWarning() << "Could not move package to destination:" << targetName << " : " << job->errorString(); return false; } } else { @@ -289,7 +289,7 @@ bool Package::installPackage(const QString& package, // than move them KIO::CopyJob *job = KIO::copy(KUrl(path), KUrl(targetName), KIO::HideProgressInfo); if (!job->exec()) { - kWarning() << "Could not move package to destination:" << targetName << " : " << job->errorString(); + kWarning() << "Could not copy package to destination:" << targetName << " : " << job->errorString(); return false; } }