Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-17693

Alt+G, Alt+B shortcut for Git blame no longer works

    XMLWordPrintable

Details

    Description

      This worked in previous commits, but now Alt+G seems to be ignored, leaving Alt+B to open the Build menu instead.

      This widgets example works:

      #include <QtWidgets>
      
      void doStuff() {
          qDebug() << "doing stuff";
      }
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
      
          QMainWindow window;
      
          QMenu *menu = new QMenu(&window);
          menu->setTitle("Git");
          menu->addAction(QLatin1String("Git Blame"), &doStuff, QKeySequence("Alt+G,Alt+B"));
          menu->addAction(QLatin1String("Git Commit"), &doStuff, QKeySequence("Alt+G,Alt+C"));
          window.menuBar()->addMenu(menu);
      
          window.show();
      
          return a.exec();
      }
      

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes