From 1c63d027bb58b40e575093ba505c506668b199bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=AD=90=E6=A5=9A=5Czhuzi?= Date: Fri, 15 Mar 2024 00:10:27 +0800 Subject: [PATCH] update --- src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml | 9 +-------- src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml b/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml index 121d8493..3fb76eb5 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluCalendarPicker.qml @@ -466,14 +466,7 @@ Rectangle { } onClicked: { d.displayDate = new Date(layout_congrol.year,month) - timer_delay_start.restart() - } - Timer{ - id:timer_delay_start - interval: 100 - onTriggered: { - d.pageIndex = 0 - } + d.pageIndex = 0 } } } diff --git a/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml b/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml index 3417e0b2..cfb8aced 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluCalendarPicker.qml @@ -465,14 +465,7 @@ Rectangle { } onClicked: { d.displayDate = new Date(layout_congrol.year,month) - timer_delay_start.restart() - } - Timer{ - id:timer_delay_start - interval: 100 - onTriggered: { - d.pageIndex = 0 - } + d.pageIndex = 0 } } }