Commit 6ce66025 authored by Marco Martin's avatar Marco Martin

forget all kcms that don't exist anymore

BUG:394553
parent 5b53b0e4
......@@ -185,6 +185,8 @@ public:
KService::Ptr service = KService::serviceByStorageId(desktopName);
if (!service || !service->isValid()) {
qWarning()<<desktopName;
m_resultModel->forgetResource(QStringLiteral("kcm:") % desktopName);
return QVariant();
}
mi->setService(service);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment