Open the Control Center from the bar clock

Drop the dashboard's now-unused Open from clock toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-15 19:10:51 +02:00
1 parent da0a61b50b
commit 29dd64572a
3 files changed
+5 -12

No files matched your search

+3 -4
View File
@@ -21,11 +21,10 @@ GlassPill {
color: Theme.text
font.pixelSize: 13
}
// Clicking the clock opens the dashboard (Settings → Dashboard).
// Clicking the clock toggles the Control Center.
MouseArea {
anchors.fill: parent
enabled: ConfigService.ready && ConfigService.data.dashboard.enabled && ConfigService.data.dashboard.openFromClock
cursorShape: enabled ? Qt.PointingHandCursor : Qt.ArrowCursor
onClicked: ShellState.toggleDashboard("")
cursorShape: Qt.PointingHandCursor
onClicked: ShellState.toggleControlCenter()
}
}