From 9abab8ed1bdf53c4a341c482b23acd882f131370 Mon Sep 17 00:00:00 2001 From: songwentao Date: Thu, 17 Nov 2022 14:03:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8C=E6=AD=A5=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=99=A8=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 启动器修改了拖拽时的MimeData中的特征字段信息, 任务栏同步修改 Log: Influence: 从启动器应用列表-拖拽到任务栏-回收站-卸载应用功能正常 Bug: https://pms.uniontech.com/bug-view-147753.html Change-Id: Ic8ab1ed87d40807b0a74e7db0cc84d06c8dabcb0 --- plugins/trash/trashwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/trash/trashwidget.cpp b/plugins/trash/trashwidget.cpp index a399b6499..48a723dd9 100644 --- a/plugins/trash/trashwidget.cpp +++ b/plugins/trash/trashwidget.cpp @@ -162,7 +162,7 @@ void TrashWidget::dragLeaveEvent(QDragLeaveEvent *e) void TrashWidget::dropEvent(QDropEvent *e) { if (e->mimeData()->hasFormat("RequestDock")) - return removeApp(e->mimeData()->data("AppKey")); + return removeApp(e->mimeData()->data("DesktopPath")); if (!e->mimeData()->hasUrls()) { return e->ignore();