D27650: ItemContainer: disconnect signals in destructor

Anthony Fieroni noreply at phabricator.kde.org
Wed Feb 26 08:39:25 GMT 2020


anthonyfieroni added inline comments.

INLINE COMMENTS

> itemcontainer.cpp:66
>  {
> +    disconnect(m_sizeHintAdjustTimer, &QTimer::timeout, this, &ItemContainer::sizeHintsChanged);
> +    disconnect(m_editModeTimer, &QTimer::timeout, this, nullptr);

You can translate this calls to
`m_sizeHintAdjustTimer->disconnect(this)`

REPOSITORY
  R120 Plasma Workspace

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

To: alnikiforov, ngraham, davidedmundson, mart
Cc: anthonyfieroni, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/c0ed76f0/attachment-0001.html>


More information about the Plasma-devel mailing list