mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix: fashion tray item sort key do not work
https://tower.im/projects/e4ae1ad0b5d5497fb4b7c14fe2d2efbf/todos/6e55b8d932140ef6a5b9f2e2ff8ded48/ Change-Id: Ica7acbc29e218ef70d5ec006b2f7e9c870db5bf3
This commit is contained in:
parent
c45df0263d
commit
ff0d9f0804
Notes:
gerrit
2018-12-18 10:51:02 +08:00
Verified+1: <jenkins@deepin.com> Verified+1: zhaofangfangdeepin <zhaofangfang@linuxdeepin.com> Code-Review+2: listenerri <listenerri@gmail.com> Submitted-by: listenerri <listenerri@gmail.com> Submitted-at: Tue, 18 Dec 2018 10:51:02 +0800 Reviewed-on: https://cr.deepin.io/40639 Project: dde/dde-dock Branch: refs/heads/master
@ -180,10 +180,6 @@ int TrayPlugin::itemSortKey(const QString &itemKey)
|
||||
return m_systemTraysController->systemTrayItemSortKey(itemKey);
|
||||
}
|
||||
|
||||
if (itemKey == FASHION_MODE_ITEM) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
const QString key = QString("pos_%1_%2").arg(itemKey).arg(displayMode());
|
||||
|
||||
return m_proxyInter->getValue(this, key, displayMode() == Dock::DisplayMode::Fashion ? 0 : 0).toInt();
|
||||
|
Loading…
x
Reference in New Issue
Block a user