diff --git a/shell/coronatesthelper.cpp b/shell/coronatesthelper.cpp index c8f9a76a1..e3ce9dc18 100644 --- a/shell/coronatesthelper.cpp +++ b/shell/coronatesthelper.cpp @@ -47,6 +47,11 @@ void CoronaTestHelper::processApplet(Plasma::Applet* applet) qGuiApp->exit(1); return; } + if (!obj) { + qCWarning(PLASMASHELL) << "cannot get AppletQuickItem for applet"; + qGuiApp->exit(1); + return; + } auto testObject = obj->testItem(); if (!testObject) {