diff --git a/runners/windowedwidgets/windowedwidgetsrunner.cpp b/runners/windowedwidgets/windowedwidgetsrunner.cpp index 7f093a7f2..706b1bb5d 100644 --- a/runners/windowedwidgets/windowedwidgetsrunner.cpp +++ b/runners/windowedwidgets/windowedwidgetsrunner.cpp @@ -61,6 +61,10 @@ void WindowedWidgetsRunner::match(Plasma::RunnerContext &context) QList matches; foreach (const KPluginMetaData &md, Plasma::PluginLoader::self()->listAppletMetaData(QString())) { + if (!md.isValid()) { + continue; + } + if (((md.name().contains(term, Qt::CaseInsensitive) || md.value(QLatin1String("GenericName")).contains(term, Qt::CaseInsensitive) || md.description().contains(term, Qt::CaseInsensitive)) ||