summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
diff options
context:
space:
mode:
authorXu Shitong <xushitong@uniontech.com>2025-03-14 17:01:33 +0800
committerXu Shitong <xushitong@uniontech.com>2025-04-14 16:41:41 +0000
commitbe2729cd7cfad3f3570bca64253bdfb50b3fb997 (patch)
tree10659d9375aa7ab8c7a08d9f76ee789d2cf1b031 /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
parent3265f409394e821605cfd1888a26f7fbdd4ba682 (diff)
QGuiApplication: Prevent double-click recognition across different windows
Two consecutive clicks on different windows should not be recognized as a double-click event. Add window tracking to ensure double-clicks are only detected when they occur within the same window. Changes: - Add static QWindow tracking for last pressed window - Add window equality check in double-click detection logic - Update window tracking after each mouse press event - Add test auto test case Fixes: QTBUG-134721 Change-Id: I0ca8460a447ca27b04f3d545176d478c90f6b830 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions