Use QQuickWidget instead of QQuickView for the main view in the kcm

Authored by fvogt on Mar 5 2018, 9:51 AM.



This makes it usable on wayland. The Qt Wayland support for subsurfaces
is broken in many ways, producing practically unusuable graphics and crashes. for instance.

Test Plan

Used it on wayland works fine now.

Diff Detail

R104 KScreen
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
fvogt created this revision.Mar 5 2018, 9:51 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 5 2018, 9:51 AM
fvogt requested review of this revision.Mar 5 2018, 9:51 AM
davidedmundson accepted this revision.Mar 5 2018, 11:47 AM
davidedmundson added a subscriber: davidedmundson.

Thanks for finding a simple fix for this, it was super annoying.

This revision is now accepted and ready to land.Mar 5 2018, 11:47 AM
This revision was automatically updated to reflect the committed changes.