feat(menuworker): 右键菜单插件项不显示录屏插件

加载右键菜单的插件项时,过滤录屏插件。

Log: 新增任务栏右键菜单插件项不显示录屏插件。
Task: https://pms.uniontech.com/zentao/task-view-49041.html
Change-Id: I405e3d08af43213aa73b694a03fe783ad9eeb41c
This commit is contained in:
Li Tao 2021-01-28 13:30:44 +08:00 committed by litao
parent 9a3bd50406
commit cabd1a4f8f

View File

@ -166,6 +166,9 @@ void MenuWorker::showDockSettingsMenu()
continue;
}
if (name == "deepin-screen-recorder-plugin") {
continue;
}
QAction *act = new QAction(display, this);
act->setCheckable(true);
act->setChecked(enable);