Review Request 125939: Workaround self-destructing menu

Kai Uwe Broulik kde at privat.broulik.de
Sat Nov 7 12:17:04 UTC 2015


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

(Updated Nov. 7, 2015, 12:17 p.m.)


Status
------

This change has been marked as submitted.


Review request for Plasma.


Changes
-------

Submitted with commit af32d8b42fd9e24682aebf5ad26aa376821f84b0 by Kai Uwe Broulik to branch master.


Bugs: 353779
    http://bugs.kde.org/show_bug.cgi?id=353779


Repository: plasma-framework


Description
-------

I have really no idea what's happening and this patch is plain wrong but I cannot figure out why this happens. Basically, if I popup() the "determining minetype" thing afterwards if the menu becomes empty for whatever reason (clear(), remove the one and only action in it etc) it just self-destructs in exec() and returns a null QAction.
Any idea what's going on there?


Diffs
-----

  src/scriptengines/qml/plasmoid/containmentinterface.cpp 772031f 

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


Testing
-------

Now I can drop stuff that offers multiple actions (image for instance will yield an icon and "use as wallpaper") and actually choose from them.


Thanks,

Kai Uwe Broulik

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


More information about the Plasma-devel mailing list