diff options
author | David Schulz <david.schulz@qt.io> | 2022-08-26 07:27:35 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2022-08-26 06:05:12 +0000 |
commit | c10f23a5c6c7d54e5a9af2c3b729e5a752dc51b6 (patch) | |
tree | 1817ade77851010d165fc96b7913be6cac3333a1 /src | |
parent | 86b451f71ed53c4ed8941460f4a7af695fa7ce04 (diff) | |
download | qt-creator-c10f23a5c6c7d54e5a9af2c3b729e5a752dc51b6.tar.gz |
Git: add shortcuts to uncommitted changes dialog
Change-Id: Ifde8158b7902fb6a280545349ab8d8c0a723782c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/git/gitclient.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |