D14996: Fix clazy 'connect-3arg-lambda' warnings
noreply at phabricator.kde.org
Wed Aug 22 13:31:43 BST 2018
antonanikin added 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.
To: antonanikin, #kdevelop
Cc: kfunk, kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel