QAction::eventFilter: Ambiguous shortcut overload



  • Hi,

    I am working on a Qt Application. The Application is having QMainWindow and QMainWindow is having another QMainWindow inside tab. I have a shortcut which is set for the outermost QMainWindow's action and the tab's QMainWindow's action. I tried shortcut contexts combination but still it is not working. Sometimes the shortcut does not work for the outer window and sometimes on the tab window and if I set the context for the outer window to Application then I get the following error:

    QAction::eventFilter: Ambiguous shortcut overload.

    Do anyone is having idea how I can resolve the issue?

    Mahima



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.