From d8249d7f2b98ebd7759a2007ed7938c6a4da5578 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Wed, 28 May 2025 15:22:13 +0800 Subject: [PATCH] fix: distinguish the appid of lastore daemon on 20 and 25 as title pms: TASK-377199 --- src/widgets/shutdownwidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/widgets/shutdownwidget.cpp b/src/widgets/shutdownwidget.cpp index 0dc5583f..e25b41fd 100644 --- a/src/widgets/shutdownwidget.cpp +++ b/src/widgets/shutdownwidget.cpp @@ -17,7 +17,12 @@ QT_TRANSLATE_NOOP("ShutdownWidget", "Suspend"), QT_TRANSLATE_NOOP("ShutdownWidget", "Hibernate") #endif +#ifdef ENABLE_DSS_SNIPE +const QString LASTORE_DCONFIG_NAME = "org.deepin.dde.lastore"; +#else const QString LASTORE_DCONFIG_NAME = "org.deepin.lastore"; +#endif + const QString LASTORE_DAEMON_STATUS = "lastore-daemon-status"; const int IS_UPDATE_READY = 1 << 0; const int IS_UPDATE_DISABLED = 1 << 1;