diff options
author | Yuhang Zhao <2546789017@qq.com> | 2023-01-06 11:28:41 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2023-01-23 23:39:16 +0800 |
commit | 17ab11ce493477f891916351b6ac0f0a8ad28ca6 (patch) | |
tree | f35daedb9594efcb304f8803dc1ac2475e11c819 /src/corelib/doc | |
parent | 5e0d9a077d28802988182319ae257e9102f0344e (diff) |
Windows QPA: also consider window flags when judging frameless or not
It's possible that the window has the WS_THICKFRAME flag but the
Qt::FramelessWindowHint is enabled at the same time. That usually
indicates the user is customizing the window, but it will also
confuse QPA's current logic. We can make the logic more roboust
by reading the Qt window flags as well.
Pick-to: 6.5 6.4
Change-Id: I9894e312a92ef7f5fc0aa93974f216b67fe2cf29
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/doc')
0 files changed, 0 insertions, 0 deletions