mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 14:49:44 -09:00
Authorization for set-time implies set-ntp and set-timezone, if acquired first then the user will only see one polkit dialog. However ntp needs to be disabled first before the time can be changed. Unfortunately due to deficiencies inside KAuth with the Polkit backend it's not possible to authorize an arbitrary action, so Polkit-qt is used for this. The code "executes" still a KAuth action to make use of the side channel for parent window and activation token to our agent, but since the action doesn't have a helper will actually not execute anything. |
||
|---|---|---|
| .. | ||
| ui | ||
| CMakeLists.txt | ||
| dateandtime.ui | ||
| dtime.cpp | ||
| dtime.h | ||
| kcm_clock.json | ||
| main.cpp | ||
| main.h | ||
| Messages.sh | ||
| timedated1.xml | ||