summaryrefslogtreecommitdiff
path: root/bar/TimeDate.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-09-03 22:21:50 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-09-03 22:21:50 +0800
commitdc7fee36ac26af215cf9cc2727c35b34d16113e0 (patch)
tree3ffd2d851b7e97bd0035807f9b8edc540aace112 /bar/TimeDate.qml
parent533750aa9cfe32e4bab0afb3c82b52d1b01db3ab (diff)
IComponent*: use onClicked instead of onPressed
Diffstat (limited to 'bar/TimeDate.qml')
-rw-r--r--bar/TimeDate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar/TimeDate.qml b/bar/TimeDate.qml
index ddeca47..adbda83 100644
--- a/bar/TimeDate.qml
+++ b/bar/TimeDate.qml
@@ -126,7 +126,7 @@ Item {
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
- onPressed: {
+ onClicked: {
root.isAlt = !root.isAlt;
}
}