Review Request 126449: Containment: Don't emit appletCreated with null applet

David Rosca nowrep at gmail.com
Mon Dec 21 11:17:09 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126449/
-----------------------------------------------------------

Review request for Plasma.


Repository: plasma-framework


Description
-------

ContainmentPrivate::createApplet may return null pointer (eg. when desktop is immutable), so check the pointer before emitting appletCreated.


Diffs
-----

  src/plasma/containment.cpp 512cdc4 

Diff: https://git.reviewboard.kde.org/r/126449/diff/


Testing
-------

Fixes crash when pasting to desktop with locked widgets.


Thanks,

David Rosca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151221/d61b05cf/attachment.html>


More information about the Plasma-devel mailing list