D14576: [Desktop Scripting ConfigGroup] Add more nullptr checks

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Aug 3 09:47:22 BST 2018


broulik created this revision.
broulik added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  They were missing in a couple of places leading to crashes.

TEST PLAN
  Ran the following script
  
    print(new ConfigFile().groupList);
  
  Used to crash, now it no longer does

REPOSITORY
  R120 Plasma Workspace

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

AFFECTED FILES
  shell/scripting/configgroup.cpp

To: broulik, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180803/c335e504/attachment-0001.html>


More information about the Plasma-devel mailing list