# HG changeset patch # User Chris Cannam # Date 1394114622 0 # Node ID dfe543438d52b937338211d90528b65973c6ec9e # Parent d26545a2a02dee4b8903b3d68aaa422a5042eda5 Use NativeText in key reference (converting Ctrl to weird squiggle on Mac etc) diff -r d26545a2a02d -r dfe543438d52 widgets/KeyReference.cpp --- 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);