From ff721cf8aea2a391110bc6fe8f11fd37d3080ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Wed, 27 Feb 2013 03:05:05 +0100 Subject: [PATCH] Respect packageRoot when uninstalling, not path() --- src/plasma/packagestructure.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plasma/packagestructure.cpp b/src/plasma/packagestructure.cpp index 6ac347448..cc69a5db1 100644 --- a/src/plasma/packagestructure.cpp +++ b/src/plasma/packagestructure.cpp @@ -56,8 +56,7 @@ KJob* PackageStructure::install(Package *package, const QString &archivePath, co KJob* PackageStructure::uninstall(Package *package, const QString &packageRoot) { PackageJob* j = new PackageJob(package->servicePrefix(), this); - kDebug() << "PS: " << package->path() << package->isValid(); - j->uninstall(package->path()); + j->uninstall(packageRoot + package->metadata().pluginName()); return j; }