Use std::bind expression for Workspace::slotWindowtoDesktop
ClosedPublic

Authored by graesslin on Jul 21 2017, 2:11 PM.

Details

Summary

This way we don't need the sender() hack to get the value set on the
QAction.

Test Plan

New autotest in master still passes

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Jul 21 2017, 2:11 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 21 2017, 2:11 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Jul 22 2017, 5:37 AM
This revision is now accepted and ready to land.Jul 22 2017, 5:37 AM
This revision was automatically updated to reflect the committed changes.