diff --git a/src/plasma/packagestructure.cpp b/src/plasma/packagestructure.cpp index f13b4e77b..aebb44f9d 100644 --- a/src/plasma/packagestructure.cpp +++ b/src/plasma/packagestructure.cpp @@ -92,7 +92,7 @@ KJob *PackageStructureWrapper::uninstall(KPackage::Package *package, const QStri void PackageStructurePrivate::installPathChanged(const QString &path) { KJob *job = qobject_cast(q->sender()); - if (!job && job->error()) { + if (!job || job->error()) { return; }