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

Error generating QAction->setShortcut code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.4.0 Beta
    • Build tools: uic
    • None
    • 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

            jkobus Jarek Kobus
            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