Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ambiguous QShortcut creates an unwanted dialog
Forum Updated to NodeBB v4.3 + New Features

Ambiguous QShortcut creates an unwanted dialog

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 134 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Glax
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved