summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 5b86fef..e45cbb7 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -251,6 +251,9 @@ void SheMov::createStatusbar(){
void SheMov::createActions(){
//File menu
+ mPlaySelectedA = new QAction(tr("Play selected movies..."), this);
+ connect(mPlaySelectedA, SIGNAL(triggered()), mFSWidget, SLOT(playSelected()));
+ mFSWidget->fileView()->addAction(mPlaySelectedA);
mQuitA = new QAction(tr("Quit"), this);
mQuitA->setShortcut(tr("CTRL+q"));
@@ -370,6 +373,8 @@ void SheMov::createActions(){
void SheMov::createMenus(){
QMenu *fileMenu = new QMenu(tr("&File"), this);
+ fileMenu->addAction(mPlaySelectedA);
+ fileMenu->addSeparator();
fileMenu->addAction(mQuitA);
mEditFSMenu = new QMenu(tr("&Edit"), this);
mEditFSMenu->addAction(mCdupA);