From fd76fd4df44bee6c38cf88701dbfefd0b9200f23 Mon Sep 17 00:00:00 2001 From: FanPengCheng Date: Thu, 27 May 2021 17:57:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=89=93=E5=BC=80?= =?UTF-8?q?=E8=93=9D=E7=89=99=E4=BB=BB=E5=8A=A1=E6=A0=8F=E5=B4=A9=E6=BA=83?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 指针被二次析构导致,这个指针已经被DStandardItem持有并在销毁时析构 Log: 解决开关蓝牙任务栏崩溃的问题 Bug: https://pms.uniontech.com/zentao/bug-view-81618.html Change-Id: I3d7ac87c6d3eb4157d288f99206c64be68c3ac61 --- plugins/bluetooth/componments/bluetoothadapteritem.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/bluetooth/componments/bluetoothadapteritem.cpp b/plugins/bluetooth/componments/bluetoothadapteritem.cpp index 4867fabd9..b664bf74d 100644 --- a/plugins/bluetooth/componments/bluetoothadapteritem.cpp +++ b/plugins/bluetooth/componments/bluetoothadapteritem.cpp @@ -81,12 +81,6 @@ BluetoothDeviceItem::~BluetoothDeviceItem() } delete m_standarditem; - - if (m_labelAction) - delete m_labelAction; - - if (m_stateAction) - delete m_stateAction; } void BluetoothDeviceItem::initActionList()