| 181 | } |
| 182 | |
| 183 | Command *GitMenuManager::registerShortcut(QAction *act, const QString &id, const QString &description, const QKeySequence &shortCut) |
| 184 | { |
| 185 | auto cmd = ActionManager::instance()->registerAction(act, id); |
| 186 | cmd->setDefaultKeySequence(shortCut); |
| 187 | cmd->setDescription(description); |
| 188 | return cmd; |
| 189 | } |
nothing calls this directly
no test coverage detected