mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: 修复任务栏图标无法重复点击的问题
修复任务栏图标无法重复点击的问题 Log: Bug: https://pms.uniontech.com/zentao/bug-view-93889.html Change-Id: I2abd3b75c3f663b3f7c347c4650a61805b422741 (cherry picked from commit 14f7544a2adec3cc81ce64be8447cc14e6300b04)
This commit is contained in:
parent
055d122657
commit
78a4bb8271
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user