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

Error generating QAction->setShortcut code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.4.0 Beta
    • Build tools: uic
    • None
    • Win7

      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)));

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes