From 97e880745ed3595f4d6d4b047d4e5c4751de6e55 Mon Sep 17 00:00:00 2001 From: myml Date: Fri, 26 Jul 2024 13:13:07 +0800 Subject: [PATCH 1/2] fix: cloud sync being unavailable at startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复开机启动时云同步不可用 Log: --- calendar-service/src/synchronization/syncoperation.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/calendar-service/src/synchronization/syncoperation.cpp b/calendar-service/src/synchronization/syncoperation.cpp index d56b6fe0..9d615873 100644 --- a/calendar-service/src/synchronization/syncoperation.cpp +++ b/calendar-service/src/synchronization/syncoperation.cpp @@ -178,10 +178,9 @@ bool Syncoperation::hasAvailable() QStringLiteral("Introspect")); QDBusMessage reply = QDBusConnection::sessionBus().call(msg); - + qCInfo(ServiceLogger) << "Syncoperation hasAvailable" << reply.type(); if (reply.type() == QDBusMessage::ReplyMessage) { - QVariant variant = reply.arguments().first(); - return variant.toString().contains("\"Available\""); + return true; } else { return false; } From 2dd86328e0257f9833d405b49b8729302519c1c1 Mon Sep 17 00:00:00 2001 From: myml Date: Fri, 26 Jul 2024 13:14:56 +0800 Subject: [PATCH 2/2] chore: Release 5.14.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 发布5.14.2版本, 修复云同步不可用的问题 Log: --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index f5daa417..b307c533 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dde-calendar (5.14.2) unstable; urgency=medium + + * chore: dbus activation adapt to AM(Issue: https://github.com/linuxdeepin/developer-center/issues/9742) + * fix: cloud sync being unavailable at startup + + -- myml Fri, 26 Jul 2024 13:14:34 +0800 + dde-calendar (5.14.1) unstable; urgency=medium * fix: cloud sync dbus error