aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJT Pennington <jt@obs-sec.com>2016-12-31 15:34:09 -0800
committerGitHub <noreply@github.com>2016-12-31 15:34:09 -0800
commitfab6d290cc1a94a351a12418373c3690cc8f0e43 (patch)
treed8c2df9bbf0bdf04d1aa1881c57170ff5f16ad6c
parentStart updating Debian Dependencies (diff)
downloadlumina-fab6d290cc1a94a351a12418373c3690cc8f0e43.tar.gz
lumina-fab6d290cc1a94a351a12418373c3690cc8f0e43.tar.bz2
lumina-fab6d290cc1a94a351a12418373c3690cc8f0e43.zip
Add basic keyboard shortcuts
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/MainUI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
index c98b64fb..e465cdf8 100644
--- a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
@@ -43,6 +43,12 @@ MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI){
connect(ui->tree_contents, SIGNAL(itemDoubleClicked(QTreeWidgetItem*, int)), this, SLOT(ViewFile(QTreeWidgetItem*)) );
connect(ui->actionUSB_Image, SIGNAL(triggered()), this, SLOT(BurnImgToUSB()) );
+ //Set Keyboard Shortcuts
+ ui->action_New->setShortcut(tr("CTRL+N"));
+ ui->action_Open->setShortcut(tr("CTRL+O"));
+ ui->action_Quit->setShortcut(tr("CTRL+Q"));
+ ui->actionExtract_All->setShortcut(tr("CTRL+E"));
+
ui->progressBar->setVisible(false);
ui->label_progress->setVisible(false);
ui->label_progress_icon->setVisible(false);
bgstack15