fix: 修复桌面智能助手图标在控制中心中图标显示错误的问题

显示成了其他插件的图标,我们自己开发的插件以及负责的几个插件都是有默认图标,其他的都是默认插件图标

Log:
Task: https://pms.uniontech.com/zentao/task-view-88824.html
Influence: 控制中心个性化的任务栏设置中桌面智能助手图标显示

Change-Id: Ia29363664872ac2336eb65a46cc378ccfeb4a696
This commit is contained in:
范朋程 2021-10-20 10:04:24 +08:00 committed by fanpengcheng
parent f20569bf1b
commit 2ea7f1104c

View File

@ -231,7 +231,7 @@ void ModuleWidget::initUI()
if (reply.error().type() != QDBusError::ErrorType::NoError) {
qWarning() << "dbus call failed, method: 'GetLoadedPlugins()'";
} else {
const QMap<QString, QString> &pluginIconMap = {{"assistant", ":/icons/plugins/assistant.svg"}
const QMap<QString, QString> &pluginIconMap = {{"AiAssistant", ":/icons/plugins/assistant.svg"}
, {"show-desktop", ":/icons/plugins/desktop.svg"}
, {"onboard", ":/icons/plugins/keyboard.svg"}
, {"notifications", ":/icons/plugins/notify.svg"}