mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
feat(docksetting):trash alaways display
This commit is contained in:
parent
76212b8051
commit
68d5c279db
@ -236,10 +236,10 @@ void DockSettings::showDockSettingsMenu()
|
||||
const QString &name = p->pluginName();
|
||||
const QString &display = p->pluginDisplayName();
|
||||
|
||||
// do not show trash in context menu under Efficient mode
|
||||
if (m_displayMode == Efficient && name == "trash") {
|
||||
continue;
|
||||
}
|
||||
// // do not show trash in context menu under Efficient mode
|
||||
// if (m_displayMode == Efficient && name == "trash") {
|
||||
// continue;
|
||||
// }
|
||||
|
||||
QAction *act = new QAction(display, this);
|
||||
act->setCheckable(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user