Commit graph

5 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
Nicolas Fella
93f1aa0310 Adapt to kded5->kded6 renaming 2023-06-27 22:15:18 +02:00
Devin Lin
f22b847009 quicksettings/screenrotation: Make available dbus call async 2023-02-09 23:00:45 -08: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