summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels/qsortfilterproxymodel.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-05-27 12:35:34 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-06-02 23:56:17 +0200
commit05a04c80e01ab290739b256b8652ce4830964026 (patch)
tree5df089f81a4a6f172f0d8f3d833485a65bab5e2c /src/corelib/itemmodels/qsortfilterproxymodel.cpp
parent64a64fd485bd78f44b93beb3d712db67b6d33c05 (diff)
macOS: render shortcuts in context menus correctly aligned
On macOS, shortcuts should be rendered along the imaginary line between the modifiers, and the key. The modifiers are right-aligned on the left side of that line, the key left aligned on the right side. Make an exception for multi-chord sequences, render those always left aligned. Pick-to: 6.1 Fixes: QTBUG-73990 Change-Id: Ie03f3f40278700bdfafbfca7aa52075825e20234 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/itemmodels/qsortfilterproxymodel.cpp')
0 files changed, 0 insertions, 0 deletions