D14996: Fix clazy 'connect-3arg-lambda' warnings
Anton Anikin
noreply at phabricator.kde.org
Wed Aug 22 12:38:00 BST 2018
antonanikin added inline comments.
INLINE COMMENTS
> midebugsession.cpp:559
> QPointer<MIDebugSession> guarded_this(this);
> - QTimer::singleShot(5000, [guarded_this](){
> + QTimer::singleShot(5000, [guarded_this](){ // clazy:exclude=connect-3arg-lambda
> if (guarded_this) {
Here we suppress warning instead of fixing because of suitable receiver missing. Maybe we can use `qApp` as a receiver?
REPOSITORY
R32 KDevelop
REVISION DETAIL
https://phabricator.kde.org/D14996
To: antonanikin, #kdevelop
Cc: 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/6373fdc8/attachment.html>
More information about the KDevelop-devel
mailing list