D15306: BookmarksRunner: Avoid multiple connections of identical signal

David Edmundson noreply at phabricator.kde.org
Thu Sep 6 08:48:53 BST 2018


davidedmundson added inline comments.

INLINE COMMENTS

> bookmarksrunner.cpp:65
> +    if (m_browser != browser) {
> +        m_browser = browser;
> +        connect(this, &Plasma::AbstractRunner::teardown, [this]() { m_browser->teardown(); });

do we not also need a disconnect on m_browser?

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/60374402/attachment.html>


More information about the Plasma-devel mailing list