From 488e2d821adb15ee9df65a9f1a2f9be35274c383 Mon Sep 17 00:00:00 2001 From: zhangguofu Date: Wed, 8 Mar 2023 10:32:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E3=80=901060=E3=80=91=E3=80=90AE?= =?UTF-8?q?=E3=80=91=E3=80=90RC1=E3=80=91=E3=80=90=E5=85=A8=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E3=80=91=E3=80=90DDE=E3=80=91=E3=80=90=E6=96=B0?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E3=80=91=E3=80=90=E6=97=A5=E5=8E=86=E3=80=91?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=8D=95=E5=A4=A9=E6=97=A5=E7=A8=8B=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I32c838c5b466854465c9325ecf2fae1a1c2990d1 --- calendar-client/src/dialog/scheduledlg.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/calendar-client/src/dialog/scheduledlg.cpp b/calendar-client/src/dialog/scheduledlg.cpp index 3bceafba..b2d349d9 100644 --- a/calendar-client/src/dialog/scheduledlg.cpp +++ b/calendar-client/src/dialog/scheduledlg.cpp @@ -315,10 +315,11 @@ bool CScheduleDlg::createSchedule(const QString &scheduleTypeId) } schedule->recurrence()->setDuration(0); schedule->recurrence()->setEndDateTime(endrpeattime); - } else { + } /*else { + KCalendarCore中说明了不重复就不要setDuration,传入错误的值会导致各个版本libical解析器结果不同 //永不 - schedule->recurrence()->setDuration(-1); - } +// schedule->recurrence()->setDuration(-1); + }*/ CScheduleOperation _scheduleOperation(m_accountItem, this); -- 2.20.1