diff options
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r-- | src/mainwindow.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 0a39b0a..4a0f84a 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -70,9 +70,13 @@ void MainWindow::initActions() // Edit -> Add action_add = new QAction(tr("&Add"), this); connect(action_add, SIGNAL(triggered()), this, SLOT(slot_add())); + action_delete = new QAction(tr("&Delete"), this); + action_delete->setShortcuts(QKeySequence::Delete); connect(action_delete, SIGNAL(triggered()), this, SLOT(slot_delete())); + action_duplicate = new QAction(tr("D&uplicate"), this); + action_duplicate->setShortcut(QKeySequence(Qt::Key_Space)); connect(action_duplicate, SIGNAL(triggered()), this, SLOT(slot_duplicate())); } |