mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: 修复插件展开列表名称显示错误的问题
在插件请求展示列表的时候,需要判断请求的插件是否为当前插件 Log: Influence: 从快捷面板打开网络列表,观察标题是否为网络 Task: https://pms.uniontech.com/task-view-218733.html Change-Id: Ie2c19d76561918fd9aa6fc464f2a1f1bd0c35d37
This commit is contained in:
parent
2fcdf7a131
commit
65d9cfa6ef
@ -131,6 +131,10 @@ QColor QuickSettingItem::foregroundColor() const
|
||||
|
||||
void QuickSettingItem::onRequestAppletShow(PluginsItemInterface *itemInter, const QString &itemKey)
|
||||
{
|
||||
// 只显示当前的插件的内容
|
||||
if (itemInter != m_pluginInter)
|
||||
return;
|
||||
|
||||
// 显示弹出的内容
|
||||
QWidget *itemApplet = itemInter->itemPopupApplet(itemKey);
|
||||
if (!itemApplet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user