D19937: don't connect to lambdas and call slots when you can just call the slots

Harald Sitter noreply at phabricator.kde.org
Thu Mar 21 10:29:18 GMT 2019


sitter created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
sitter requested review of this revision.

REVISION SUMMARY
  the lambdas were really unnecessary. both deleteLater and restart
  are losts, and arg-less ones at that, so instead of using a lambda we can
  just connect to the slots directly.

REPOSITORY
  R871 DrKonqi

BRANCH
  randomlambdas

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

AFFECTED FILES
  src/statusnotifier.cpp

To: sitter
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190321/c34ad115/attachment-0001.html>


More information about the Plasma-devel mailing list