Mercurial > hg > svgui
changeset 739:dfe543438d52 tonioni
Use NativeText in key reference (converting Ctrl to weird squiggle on Mac etc)
author | Chris Cannam |
---|---|
date | Thu, 06 Mar 2014 14:03:42 +0000 |
parents | d26545a2a02d |
children | a31c8ee2e17e |
files | widgets/KeyReference.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/widgets/KeyReference.cpp Thu Mar 06 13:52:33 2014 +0000 +++ b/widgets/KeyReference.cpp Thu Mar 06 14:03:42 2014 +0000 @@ -49,7 +49,7 @@ QString name = action->text(); if (overrideName != "") name = overrideName; - QString shortcut = action->shortcut().toString(); + QString shortcut = action->shortcut().toString(QKeySequence::NativeText); QString tip = action->statusTip(); registerShortcut(name, shortcut, tip);