D14996: Fix clazy 'connect-3arg-lambda' warnings

Anton Anikin noreply at phabricator.kde.org
Wed Aug 22 13:31:43 BST 2018


antonanikin added inline comments.

INLINE COMMENTS

> antonanikin wrote in midebugsession.cpp:559
> We can't use `this` here. On timeout our object (`this`) may be already destroyed. Therefore we use `QPointer` and check it for `nullptr` in lambda body.

Although I was wrong, sorry  - we can (and should) use `this` here. Will update the revision.

REPOSITORY
  R32 KDevelop

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

To: antonanikin, #kdevelop
Cc: kfunk, kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180822/c894ca6c/attachment.html>


More information about the KDevelop-devel mailing list