diff options
author | Yuhang Zhao <2546789017@qq.com> | 2022-09-02 22:23:55 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2022-10-08 20:35:17 +0800 |
commit | 67c835d201e52156afe3e5ec94772e7872e73743 (patch) | |
tree | 4c93dd8a0e44c270b9ecf6a1e9201e55c92cf376 /src/corelib/plugin | |
parent | 0d7b8a0d9eec262f756db8b7ba7c514a47804594 (diff) |
QWindowsKeyMapper: simplify the code a bit (2/2)
The default menu item will appear in bold font, and calling
SetMenuDefaultItem() can do the job for us. Use it instead of
calling SetMenuItemInfo() to save some typings.
Change-Id: Ifa834adc45f3aafd67077c089fb4e7b5d3fd3e02
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/plugin')
0 files changed, 0 insertions, 0 deletions