mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
fix crash
Change-Id: Iec8707bef818626ee4b2ec32c1f924ccc0122548
This commit is contained in:
parent
e35d7b5483
commit
2710ac5256
@ -49,7 +49,9 @@ QWidget *SystemTrayPlugin::itemWidget(const QString &itemKey)
|
||||
|
||||
QWidget *SystemTrayPlugin::itemPopupApplet(const QString &itemKey)
|
||||
{
|
||||
Q_ASSERT(itemKey == FASHION_MODE_ITEM);
|
||||
if (itemKey != FASHION_MODE_ITEM)
|
||||
return nullptr;
|
||||
|
||||
Q_ASSERT(m_trayList.size());
|
||||
|
||||
updateTipsContent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user