feat: 修改任务栏安全模式通知分类

修改任务栏安全模式通知分类为控制中心。

Log: 修改任务栏安全模式通知分类。
Task: https://pms.uniontech.com/zentao/task-view-58411.html
Change-Id: Ifa69d035ccf748cba9fd0a2569cdc598417ac76c
This commit is contained in:
Zhang Qipeng 2021-02-02 16:21:01 +08:00
parent 10b36aed8a
commit 8047715acb

View File

@ -591,14 +591,14 @@ void MainWindow::sendNotifications()
.path("/com/deepin/dde/Notification")
.interface("com.deepin.dde.Notification")
.method(QString("Notify"))
.arg(QCoreApplication::applicationName()) // appname
.arg(static_cast<uint>(0)) // id
.arg(QString("preferences-system")) // icon
.arg(QString(tr("Dock - Safe Mode"))) // summary
.arg(tr("The Dock is in safe mode, please exit to show it properly")) // content
.arg(actionButton) // actions
.arg(hints) // hints
.arg(15000) // timeout
.arg(QString("dde-control-center")) // appname
.arg(static_cast<uint>(0)) // id
.arg(QString("preferences-system")) // icon
.arg(QString(tr("Dock - Safe Mode"))) // summary
.arg(QString(tr("The Dock is in safe mode, please exit to show it properly"))) // content
.arg(actionButton) // actions
.arg(hints) // hints
.arg(15000) // timeout
.call();
});
}