D22818: Avoid crash if kicker plugin is used outside plasma context

David Edmundson noreply at phabricator.kde.org
Tue Jul 30 01:24:53 BST 2019


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION 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

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D22818

AFFECTED FILES
  applets/kicker/plugin/appsmodel.cpp

To: davidedmundson, #plasma
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190730/e51e3a0c/attachment.html>


More information about the Plasma-devel mailing list