diff options
author | Ken Moore <moorekou@gmail.com> | 2015-07-20 15:36:05 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-07-20 15:36:05 -0400 |
commit | 5c96c76e23dc0f00b2f958f4ae86528ed04083e4 (patch) | |
tree | 265991bd5ee6c840f230462aacb2f12d97062f7c /lumina-fm/MainUI.cpp | |
parent | Fix up a calculation of the new window geometry - add in checks for those str... (diff) | |
download | lumina-5c96c76e23dc0f00b2f958f4ae86528ed04083e4.tar.gz lumina-5c96c76e23dc0f00b2f958f4ae86528ed04083e4.tar.bz2 lumina-5c96c76e23dc0f00b2f958f4ae86528ed04083e4.zip |
Add the Ctrl-X keyboard shortcut for Cutting the selected files onto the Clipboard.
Diffstat (limited to 'lumina-fm/MainUI.cpp')
-rw-r--r-- | lumina-fm/MainUI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 1c832b1a..fe9be78b 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -104,6 +104,7 @@ MainUI::MainUI() : QMainWindow(), ui(new Ui::MainUI){ closeTabShort = new QShortcut( QKeySequence(tr("Ctrl+W")), this); copyFilesShort = new QShortcut( QKeySequence(tr("Ctrl+C")), this); pasteFilesShort = new QShortcut( QKeySequence(tr("Ctrl+V")), this); + cutFilesShort = new QShortcut( QKeySequence(tr("Ctrl+X")), this); deleteFilesShort = new QShortcut( QKeySequence(tr("Delete")), this); //Finish loading the interface workThread->start(); @@ -285,6 +286,7 @@ void MainUI::setupConnections(){ connect(nextTabRShort, SIGNAL(activated()), this, SLOT( nextTab() ) ); connect(closeTabShort, SIGNAL(activated()), this, SLOT( tabClosed() ) ); connect(copyFilesShort, SIGNAL(activated()), this, SLOT( CopyItems() ) ); + connect(cutFilesShort, SIGNAL(activated()), this, SLOT( CutItems() ) ); connect(pasteFilesShort, SIGNAL(activated()), this, SLOT( PasteItems() ) ); connect(deleteFilesShort, SIGNAL(activated()), this, SLOT( RemoveItem() ) ); } |