Use platform detection from KWorkspace in Powerdevil

Authored by graesslin on Mar 18 2018, 8:55 AM.

Description

Use platform detection from KWorkspace in Powerdevil

Summary: On a wayland session powerdevil needs to use Wayland platform.

Test Plan:
Only compile tested, changes are identical to the tested
systemsettings patch.

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D11446

Details