D6801: Replace delegate slots for window shortcut by std::bind expressions

Martin Flöser noreply at phabricator.kde.org
Thu Jul 20 17:10:36 UTC 2017


graesslin created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.

REVISION SUMMARY
  Client had a slot to delay a call when setting up a global shortcut for
  the Client. This can be simplified by using a std::bind expression.
  Similar the action was connected to a one line lambda which can be
  expressed through a std::bind expression as well.

TEST PLAN
  New added auto test still passes

REPOSITORY
  R108 KWin

BRANCH
  useractions-client-shortcut-simplify

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

AFFECTED FILES
  client.h
  useractions.cpp

To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170720/28d0ef63/attachment.html>


More information about the Plasma-devel mailing list