mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: crash at AppDragWidget
mark m_drag to nullptr when the app drag widget destroyed https://github.com/linuxdeepin/internal-discussion/issues/1936
This commit is contained in:
parent
5011ec7f91
commit
f3c94c85ac
@ -475,6 +475,7 @@ void AppItem::startDrag()
|
||||
// handle drag finished here
|
||||
connect(m_drag->appDragWidget(), &AppDragWidget::destroyed, this, [=] {
|
||||
m_dragging = false;
|
||||
m_drag.clear();
|
||||
setVisible(true);
|
||||
update();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user