From 78a4bb8271b6e41a67a01942f944edcb26eeaf94 Mon Sep 17 00:00:00 2001 From: FanPengCheng Date: Fri, 27 Aug 2021 11:25:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=A0=8F=E5=9B=BE=E6=A0=87=E6=97=A0=E6=B3=95=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复任务栏图标无法重复点击的问题 Log: Bug: https://pms.uniontech.com/zentao/bug-view-93889.html Change-Id: I2abd3b75c3f663b3f7c347c4650a61805b422741 (cherry picked from commit 14f7544a2adec3cc81ce64be8447cc14e6300b04) --- frame/item/appitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frame/item/appitem.cpp b/frame/item/appitem.cpp index b3bf2ca39..f79dc912c 100644 --- a/frame/item/appitem.cpp +++ b/frame/item/appitem.cpp @@ -293,7 +293,7 @@ void AppItem::mouseReleaseEvent(QMouseEvent *e) } int curTimestamp = QDateTime::currentSecsSinceEpoch(); - if ((curTimestamp - m_lastclickTimes) < 300) + if ((curTimestamp - m_lastclickTimes) < 1) return; m_lastclickTimes = curTimestamp;