Remove shortcut set to QAction
I have QT application developed with many QAction's (Menu & Toolbar). While creating this QAction's, shortcut key is associated with it. I want to allow user to remove the shortcut so that it can be used with other action as per his choice. But there is no API in QAction class to remove the shortcut.
Is it doable?
Thanks a lot.
cannot be used ?
@mrjj When I understand the documentation correctly you just have to do
QAction::setShortcut(QKeySequence())to remove a currently assigned keyboard shortcut