I have a menu which appear when I do righ click. One QAction is shown on the menu and has a shortcut 'F'. When I click the menu, it triggers the slot method. But the shortcut doesn't work.

Anyone has this problem?