From d5eb0fdce512b458b945c6d8730c42bb81a891b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Wed, 14 Dec 2022 21:50:30 +0100 Subject: [PATCH] Change key shortcuts --- mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index ad73468..b21b143 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -129,8 +129,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) fileMenu->addAction(tr("Open"), this, SLOT(loadFile()), QKeySequence::Open); fileMenu->addAction(tr("Save as"), this, SLOT(saveAs()), QKeySequence::Save); fileMenu->addSeparator(); - fileMenu->addAction(tr("Copy marked files"), this, SLOT(copyMarked())); - fileMenu->addAction(tr("Move marked files"), this, SLOT(moveMarked())); + fileMenu->addAction(tr("Copy marked files"), this, SLOT(copyMarked()), Qt::Key_F5); + fileMenu->addAction(tr("Move marked files"), this, SLOT(moveMarked()), Qt::Key_F6); fileMenu->addSeparator(); fileMenu->addAction(tr("Index directory"), this, SLOT(indexDir())); fileMenu->addAction(tr("Reindex files"), this, SLOT(reindex())); @@ -162,7 +162,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) menuBar()->addMenu(viewMenu); QMenu *selectMenu = new QMenu(tr("Select"), this); - selectMenu->addAction(tr("Mark"), this, SLOT(markImage()), Qt::Key_F5); + selectMenu->addAction(tr("Mark"), this, SLOT(markImage()), Qt::Key_F7); selectMenu->addAction(tr("Unmark"), this, SLOT(unmarkImage()), Qt::Key_F8); selectMenu->addSeparator(); selectMenu->addAction(tr("Mark and next"), this, SLOT(markAndNext()), Qt::Key_M);