Commit 238ec3ee authored by David Edmundson's avatar David Edmundson

Check KPluginInfo.service() returns a valid object

Reviewed-by: Marco Martin
parent 9e457e8c
......@@ -63,7 +63,7 @@ void WindowedWidgetsRunner::match(Plasma::RunnerContext &context)
foreach (const KPluginInfo &info, Plasma::PluginLoader::self()->listAppletInfo(QString())) {
KService::Ptr service = info.service();
if (!service->isValid()) {
if (!service || !service->isValid()) {
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