D15306: BookmarksRunner: Avoid multiple connections of identical signal

Stefan BrĂ¼ns noreply at phabricator.kde.org
Thu Sep 6 14:36:36 BST 2018


bruns planned changes to this revision.
bruns added inline comments.

INLINE COMMENTS

> broulik wrote in bookmarksrunner.cpp:66
> No, four-argument connect:
> 
>   connect(this, &..., this, ....
> 
> Though you just connect from `this` anyway, so I guess this isn't needed

Hm, just found that auto-disconnect (see @davidedmundson s comment) only works if you provide a context. The context has to be `m_browser`  here.

REPOSITORY
  R120 Plasma Workspace

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

To: bruns, #plasma
Cc: davidedmundson, broulik, 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/20180906/ad4b63c2/attachment.html>


More information about the Plasma-devel mailing list