Skip to content

Commit 560b536

Browse files
committed
fix: modify update notification's appName and appIcon
modify update notification's appName and appIcon to org.deepin.dde.control-center Log: modify update notification's appName and appIcon Pms: BUG-351745
1 parent 3bd2a1f commit 560b536

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/dde-lock/updateworker.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
1+
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
22
//
33
// SPDX-License-Identifier: GPL-3.0-or-later
44

@@ -32,9 +32,15 @@ void UpdateWorker::doUpdate(bool powerOff)
3232
.path("/org/freedesktop/Notifications")
3333
.interface("org.freedesktop.Notifications")
3434
.method(QString("Notify"))
35+
#ifndef ENABLE_DSS_SNIPE
3536
.arg(tr("Update"))
3637
.arg(static_cast<uint>(0))
3738
.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
3844
.arg(QString(""))
3945
.arg(tr("Please plug in and then install updates."))
4046
.arg(QStringList())

0 commit comments

Comments
 (0)