mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: 按需求文档调整托盘区域插件默认排序
根据需求文档https://shimo.im/sheets/8YQY9vyC9VRWCDC6/MODOC 重新调整托盘区域插件默认排序 Log: 修复托盘区域的挂载图标和插件区域的电源,时间图标顺序与需求不符问题 Bug: https://pms.uniontech.com/zentao/bug-view-40690.html Change-Id: I6962228101de5497e910c4053c1b7e942bec87f7 Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/1123 Reviewed-by: <mailman@uniontech.com> Reviewed-by: lizhongming <lizhongming@uniontech.com> Reviewed-by: pengwenhao <pengwenhao@uniontech.com> Tested-by: <mailman@uniontech.com>
This commit is contained in:
parent
fc8f45e8a4
commit
5221be1141
@ -82,7 +82,7 @@ int KeyboardPlugin::itemSortKey(const QString &itemKey)
|
||||
{
|
||||
const QString key = QString("pos_%1_%2").arg(itemKey).arg(Dock::Efficient);
|
||||
|
||||
return m_proxyInter->getValue(this, key, 2).toInt();
|
||||
return m_proxyInter->getValue(this, key, 1).toInt();
|
||||
}
|
||||
|
||||
void KeyboardPlugin::setSortKey(const QString &itemKey, const int order)
|
||||
|
@ -141,7 +141,7 @@ int NetworkPlugin::itemSortKey(const QString &itemKey)
|
||||
{
|
||||
const QString key = QString("pos_%1_%2").arg(itemKey).arg(Dock::Efficient);
|
||||
|
||||
return m_proxyInter->getValue(this, key, 2).toInt();
|
||||
return m_proxyInter->getValue(this, key, 3).toInt();
|
||||
}
|
||||
|
||||
void NetworkPlugin::setSortKey(const QString &itemKey, const int order)
|
||||
|
@ -113,7 +113,7 @@ int SoundPlugin::itemSortKey(const QString &itemKey)
|
||||
{
|
||||
const QString key = QString("pos_%1_%2").arg(itemKey).arg(Dock::Efficient);
|
||||
|
||||
return m_proxyInter->getValue(this, key, 1).toInt();
|
||||
return m_proxyInter->getValue(this, key, 2).toInt();
|
||||
}
|
||||
|
||||
void SoundPlugin::setSortKey(const QString &itemKey, const int order)
|
||||
|
Loading…
x
Reference in New Issue
Block a user