Commit graph

4 commits

Author SHA1 Message Date
Devin Lin
a0b9c2c569 quicksettings/screenrotation: Fix it by porting to changed API
It appears that the screen rotation DBus API was dropped with https://invent.kde.org/plasma/kscreen/-/merge_requests/237

Port to the new API.

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/257
2023-11-05 15:09:33 -08:00
Devin Lin
462d99b83f quicksettings: Extract out from mobileshell into separate plugin 2023-03-16 19:44:36 -07:00
Luca Weiss
f8aeffa56d quicksettings/screenrotation: hide when not available
On devices where auto-rotate is not (yet) available, make sure not to
show an auto-rotate toggle with no functionality.
2023-02-10 06:28:59 +00:00
Devin Lin
35dec9d3d7 quicksettings/screenrotation: Move C++ out of ShellUtil into package 2022-03-17 00:33:13 -04:00