We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45c10f7 commit f3775c6Copy full SHA for f3775c6
1 file changed
src/dde-lock/updateworker.cpp
@@ -1,4 +1,4 @@
1
-// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
@@ -32,9 +32,15 @@ void UpdateWorker::doUpdate(bool powerOff)
32
.path("/org/freedesktop/Notifications")
33
.interface("org.freedesktop.Notifications")
34
.method(QString("Notify"))
35
+#ifndef ENABLE_DSS_SNIPE
36
.arg(tr("Update"))
37
.arg(static_cast<uint>(0))
38
.arg(QString("package-updated-failed"))
39
+#else
40
+ .arg(QString("org.deepin.dde.control-center"))
41
+ .arg(static_cast<uint>(0))
42
+ .arg(QString())
43
+#endif
44
.arg(QString(""))
45
.arg(tr("Please plug in and then install updates."))
46
.arg(QStringList())
0 commit comments