From c10f23a5c6c7d54e5a9af2c3b729e5a752dc51b6 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 26 Aug 2022 07:27:35 +0200 Subject: Git: add shortcuts to uncommitted changes dialog Change-Id: Ifde8158b7902fb6a280545349ab8d8c0a723782c Reviewed-by: Orgad Shaneh --- src/plugins/git/gitclient.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/git/gitclient.cpp') diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 95c450f0ef..bb59631315 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -3678,13 +3678,13 @@ void GitClient::StashInfo::stashPrompt(const QString &command, const QString &st msgBox.setDetailedText(statusOutput); - QPushButton *stashAndPopButton = msgBox.addButton(tr("Stash && Pop"), QMessageBox::AcceptRole); + QPushButton *stashAndPopButton = msgBox.addButton(tr("Stash && &Pop"), QMessageBox::AcceptRole); stashAndPopButton->setToolTip(tr("Stash local changes and pop when %1 finishes.").arg(command)); - QPushButton *stashButton = msgBox.addButton(tr("Stash"), QMessageBox::AcceptRole); + QPushButton *stashButton = msgBox.addButton(tr("&Stash"), QMessageBox::AcceptRole); stashButton->setToolTip(tr("Stash local changes and execute %1.").arg(command)); - QPushButton *discardButton = msgBox.addButton(tr("Discard"), QMessageBox::AcceptRole); + QPushButton *discardButton = msgBox.addButton(tr("&Discard"), QMessageBox::AcceptRole); discardButton->setToolTip(tr("Discard (reset) local changes and execute %1.").arg(command)); QPushButton *ignoreButton = nullptr; -- cgit v1.2.1