From 37cf96519b88a63642351e647702cd5d5edcebb2 Mon Sep 17 00:00:00 2001 From: songwentao Date: Sun, 7 Nov 2021 17:44:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=87=BA=E7=8E=B0=E5=8D=A1=E9=A1=BF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复拖拽应用操作卡顿的问题 Log: 优化任务栏拖拽功能 Influence: 任务栏-拖动应用交换位置卡顿问题 Task: https://pms.uniontech.com/zentao/task-view-90552.html Change-Id: I0b26f49c8cda7f1265de2dd36e12ec91a893f4bb --- frame/window/mainpanelcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/window/mainpanelcontrol.cpp b/frame/window/mainpanelcontrol.cpp index 5f89d8005..4abb7ae05 100755 --- a/frame/window/mainpanelcontrol.cpp +++ b/frame/window/mainpanelcontrol.cpp @@ -667,7 +667,7 @@ bool MainPanelControl::eventFilter(QObject *watched, QEvent *event) moveAppSonWidget(); } - if (Utils::IS_WAYLAND_DISPLAY && m_appDragWidget && watched == static_cast(m_appDragWidget)->viewport()) { + if (!Utils::IS_WAYLAND_DISPLAY && m_appDragWidget && watched == static_cast(m_appDragWidget)->viewport()) { bool isContains = rect().contains(mapFromGlobal(QCursor::pos())); if (isContains) { if (event->type() == QEvent::DragMove) {