D9823: Optimize: use QMetaObject::invokeMethod with functor

David Faure noreply at phabricator.kde.org
Fri Jan 12 09:12:46 UTC 2018


dfaure requested changes to this revision.
dfaure added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> kdirwatch.cpp:1405
> +#else
> +            QMetaObject::invokeMethod(c.instance, [c, path]() { c.instance->setDeleted(path); }, Qt::QueuedConnection)
> +#endif

Does this compile? The compiler in my eyes says: missing trailing semicolon.

REPOSITORY
  R244 KCoreAddons

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

To: mwolff, dfaure, apol, mpyne
Cc: mpyne, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180112/86504025/attachment.html>


More information about the Kde-frameworks-devel mailing list