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

2019-03-21 Thread Harald Sitter
This revision was automatically updated to reflect the committed changes.
Closed by commit R871:d0974fdc18b4: don't connect to lambdas and call 
slots when you can just call the slots (authored by sitter).

REPOSITORY
  R871 DrKonqi

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D19937?vs=54471&id=54475

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

AFFECTED FILES
  src/statusnotifier.cpp

To: sitter, #plasma, davidedmundson
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


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

2019-03-21 Thread Harald Sitter
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