VCS: Add accelerators to context menu entry in editors

Change-Id: I57b89670999d1f4857dcbdf94d8dc1f480e337c1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-03-10 12:21:33 +02:00
committed by Orgad Shaneh
parent cf8d601b1d
commit 94cf79f895
4 changed files with 11 additions and 11 deletions

View File

@@ -345,7 +345,7 @@ void ChangeTextCursorHandler::slotCopyRevision()
QAction *ChangeTextCursorHandler::createDescribeAction(const QString &change) const
{
auto a = new QAction(VcsBaseEditorWidget::tr("Describe Change %1").arg(change), 0);
auto a = new QAction(VcsBaseEditorWidget::tr("&Describe Change %1").arg(change), 0);
connect(a, &QAction::triggered, this, &ChangeTextCursorHandler::slotDescribe);
return a;
}