Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42756

Error generating QAction->setShortcut code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.4.0 Beta
    • Fix Version/s: None
    • Component/s: Build tools: uic
    • Labels:
      None
    • Environment:
      Win7

      Description

      uic 5.4.0 generates following code

      action_Open->setShortcut(QApplication::translate("MainWindow", "F5", 0));

      IMHO it should

      action_Open->setShortcut(QKeySequence(QApplication::translate("MainWindow", "F5", 0)));

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jkobus Jarek Kobus
            Reporter:
            fprijate Franček Prijatelj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes