Mercurial > hg > svgui
diff widgets/KeyReference.cpp @ 616:d632a1e87018 qt5
Build fixes for Qt5
author | Chris Cannam |
---|---|
date | Mon, 11 Mar 2013 14:23:52 +0000 |
parents | 5f3f5c1e23e8 |
children | dfe543438d52 |
line wrap: on
line diff
--- a/widgets/KeyReference.cpp Fri Nov 16 17:14:12 2012 +0000 +++ b/widgets/KeyReference.cpp Mon Mar 11 14:23:52 2013 +0000 @@ -49,7 +49,7 @@ QString name = action->text(); if (overrideName != "") name = overrideName; - QString shortcut = action->shortcut(); + QString shortcut = action->shortcut().toString(); QString tip = action->statusTip(); registerShortcut(name, shortcut, tip);