Commit 9f6db26d authored by David Edmundson's avatar David Edmundson

Guard Applet->property("graphicsitem") in corona tests

parent 6fb7ed23
......@@ -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) {
......
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