GUI: Restore keyboard shortcuts for context menu entries

This partially reverts f385ad7651.
This commit is contained in:
Luke Dashjr
2021-06-12 19:31:59 +00:00
parent b0e5fbf6fa
commit 02b5263cd4
3 changed files with 11 additions and 11 deletions

View File

@@ -27,8 +27,8 @@ QRImageWidget::QRImageWidget(QWidget *parent):
QLabel(parent), contextMenu(nullptr)
{
contextMenu = new QMenu(this);
contextMenu->addAction(tr("Save Image…"), this, &QRImageWidget::saveImage);
contextMenu->addAction(tr("Copy Image"), this, &QRImageWidget::copyImage);
contextMenu->addAction(tr("&Save Image…"), this, &QRImageWidget::saveImage);
contextMenu->addAction(tr("&Copy Image"), this, &QRImageWidget::copyImage);
}
bool QRImageWidget::setQR(const QString& data, const QString& text)