Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Ambiguous QShortcut creates an unwanted dialog



  • If I create a QShortcut with the same key sequence as a QAction, when I press the key sequence I get a dialog saying:

    "The key sequence '(sequence)' is ambiguous. Use 'Configure Shortcuts'
    from the 'Settings' menu to solve the ambiguity.
    No action will be triggered."

    Is there a void to suppress that? I want to handle this thing on my side using QShortcut::activatedAmbiguously and not have the message appear.


Log in to reply