fix: 解决打开蓝牙任务栏崩溃的问题

指针被二次析构导致,这个指针已经被DStandardItem持有并在销毁时析构

Log: 解决开关蓝牙任务栏崩溃的问题
Bug: https://pms.uniontech.com/zentao/bug-view-81618.html
Change-Id: I3d7ac87c6d3eb4157d288f99206c64be68c3ac61
This commit is contained in:
FanPengCheng 2021-05-27 17:57:32 +08:00 committed by fanpengcheng
parent dba52c6549
commit fd76fd4df4

View File

@ -81,12 +81,6 @@ BluetoothDeviceItem::~BluetoothDeviceItem()
}
delete m_standarditem;
if (m_labelAction)
delete m_labelAction;
if (m_stateAction)
delete m_stateAction;
}
void BluetoothDeviceItem::initActionList()