fixed(dock): trash icon always no display when display mode is fashion

mode       bug: 1976
This commit is contained in:
wangxuwen 2019-09-03 16:08:12 +08:00
parent 8590b4ae86
commit 2c16b6f98b

View File

@ -145,7 +145,7 @@ void TrashPlugin::pluginStateSwitched()
return;
}
if (m_trashWidget && displayMode() == Dock::Fashion) {
if (m_trashWidget) {
m_proxyInter->itemAdded(this, pluginName());
}
}