Commit 7dc14a0
committed
Optimize Qt6 menu fix: conditional check and reduce ProcessMessages
- Only run the menu rebuild workaround on Qt5/Qt6 widgetsets
- GTK and Win32 users no longer pay any cost for this fix
- Reduce ProcessMessages calls from 2 to 1 (sufficient for the fix)
- Add Qt5 coverage since it likely has the same issue1 parent adb1d52 commit 7dc14a0
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
908 | | - | |
909 | | - | |
910 | | - | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
| |||
1218 | 1218 | | |
1219 | 1219 | | |
1220 | 1220 | | |
1221 | | - | |
1222 | | - | |
1223 | | - | |
1224 | | - | |
1225 | | - | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1226 | 1229 | | |
1227 | 1230 | | |
1228 | 1231 | | |
| |||
0 commit comments