diff options
Diffstat (limited to 'lumina-fm')
-rw-r--r-- | lumina-fm/MainUI.cpp | 2 | ||||
-rw-r--r-- | lumina-fm/MainUI.h | 2 |
2 files changed, 3 insertions, 1 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() ) ); } diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h index be8bb11f..cf9669b1 100644 --- a/lumina-fm/MainUI.h +++ b/lumina-fm/MainUI.h @@ -97,7 +97,7 @@ private: QString CItem; //the item that was right-clicked (for the context menu) //QStringList imgFilter, multiFilter; //image/multimedia filters QSettings *settings; - QShortcut *nextTabLShort, *nextTabRShort, *closeTabShort, *copyFilesShort, *pasteFilesShort, *deleteFilesShort; + QShortcut *nextTabLShort, *nextTabRShort, *closeTabShort, *copyFilesShort, *cutFilesShort, *pasteFilesShort, *deleteFilesShort; QCompleter *dirCompleter; bool isUserWritable, keepFocus; QTimer *syncTimer; |