summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorYuhang Zhao <2546789017@qq.com>2022-10-21 14:06:22 +0800
committerYuhang Zhao <2546789017@qq.com>2023-02-08 13:09:03 +0800
commitc3455ded494adf6542ba5a766151ebd30cdd9016 (patch)
tree1a064e6e2fd85ce21865eec387aea49df5aa2c40 /src/corelib/global/qnamespace.h
parent13a841469650bcade71c1aa4eb3558bee7c0b8a0 (diff)
Windows QPA: Rework how we activate the window
The new implementation has the following advantages compared to the old one: 0. Qt's default activation behavior is not changed, this patch only improves how we forcely activate the window. 1. Account for the special case that the foreground window maybe hangs. 2. Truly bring the window to front if the window is hidden or minimized. 3. Use early return to save many indentation. Change-Id: If51ad943fbc9771ebdddfa0e49732b12566ca2b6 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/global/qnamespace.h')
0 files changed, 0 insertions, 0 deletions