comparison 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
comparison
equal deleted inserted replaced
615:156a120345ae 616:d632a1e87018
47 KeyReference::registerShortcut(QAction *action, QString overrideName) 47 KeyReference::registerShortcut(QAction *action, QString overrideName)
48 { 48 {
49 QString name = action->text(); 49 QString name = action->text();
50 if (overrideName != "") name = overrideName; 50 if (overrideName != "") name = overrideName;
51 51
52 QString shortcut = action->shortcut(); 52 QString shortcut = action->shortcut().toString();
53 QString tip = action->statusTip(); 53 QString tip = action->statusTip();
54 54
55 registerShortcut(name, shortcut, tip); 55 registerShortcut(name, shortcut, tip);
56 } 56 }
57 57