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

Branch
slot-window-to-desktop-std-bind
Lint
No Linters Available
Unit
No Unit Test Coverage
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.