Skip to content
Commit c423eb7f authored by David Edmundson's avatar David Edmundson
Browse files

Avoid crash if kicker plugin is used outside plasma context

Summary:
Code currently gets the applet interface object passed in explicitly,
from this it gets the configuration via the metaobject system

We always guard the appletConfig not being available, but never the
appletInterface, resulting in crashes if used from qmlscene or any
potential tests.

Test Plan: Used from qmlscene

Reviewers: #plasma, apol, hein

Reviewed By: #plasma, apol, hein

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22818
parent 352f6e83
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