View Full Version : Ambiguous shortcut overload

20th December 2011, 05:01
I want to create a 'CTRL+W' shortcut for a child-widget of QMainWindow. Basically, I want to handle closing my window myself and not give this to QMainWindow to control. In addition, I want there to be a shortcut displayed in the menu. When attempting to create the shortcut, however, the following message appears:

QAction::eventFilter: Ambiguous shortcut overload: Ctrl+W

How can I find and remove the automated shortcut created by QMainWindow, or simply tell QMainWindow not to do it?

21st December 2011, 22:51
Is this not possible?