fix: 控制中心插件上不加载远程助手的设置选项

远程助手只有在启动时才加载到任务栏上,因此不需要在控制中心上显示设置选项

Log: 修复控制中心个性化设置中任务栏插件点击uos-remote-assistance没有效果问题
Bug: https://pms.uniontech.com/bug-view-145773.html
Influence: 控制中心个性化设置中任务栏插件不显示uos-remote-assistance
Change-Id: I1a507c3cd988379275b171cf65452dc4bff37067
This commit is contained in:
chenjun 2022-07-06 13:44:41 +08:00 committed by wubw
parent 8ce50708e6
commit bdbde848d0

View File

@ -213,5 +213,9 @@ bool DBusDockAdaptors::isPluginValid(const QString &name)
if (name == "deepin-screen-recorder-plugin")
return false;
// 远程助手只有在启动时才会加载在任务栏,不需要在控制中心加载
if (name == "uos-remote-assistance")
return false;
return true;
}