summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 8821a7b..7cbbce6 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -165,6 +165,7 @@ void SheMov::tabChanged(int newTab){
mShowNormalA->setEnabled(false);
mShowArchivedA->setEnabled(false);
mShowLocalA->setEnabled(false);
+ mShowNoCoverDialogA->setEnabled(false);
}
if(newTab == 1){
setWindowTitle(mATree->windowTitle());
@@ -173,6 +174,7 @@ void SheMov::tabChanged(int newTab){
mShowNormalA->setEnabled(true);
mShowArchivedA->setEnabled(true);
mShowLocalA->setEnabled(true);
+ mShowNoCoverDialogA->setEnabled(true);
}
updateSelectionCount(QItemSelection(), QItemSelection());
}
@@ -413,6 +415,8 @@ void SheMov::createActions(){
connect(mShowNormalA, SIGNAL(triggered()), viewMapper, SLOT(map()));
mShowNormalA->setCheckable(true);
mShowNormalA->setChecked(true);
+ mShowNoCoverDialogA = new QAction(QIcon(":/higheels.png"), tr("List movies without cover..."), this);
+ connect(mShowNoCoverDialogA, SIGNAL(triggered()), mATree, SLOT(showNoCoverDialog()));
//Tree FileWidget actions
mMoveToBurnA = new QAction(tr("Move to burn directory"), this);
@@ -457,6 +461,7 @@ void SheMov::createMenus(){
cleanupMenu->addActions(mCleanupGroup->actions());
fileMenu->addMenu(cleanupMenu);
fileMenu->addAction(mConsistencyA);
+ fileMenu->addAction(mShowNoCoverDialogA);
fileMenu->addSeparator();
fileMenu->addAction(mQuitA);
menuBar()->addMenu(fileMenu);
@@ -638,6 +643,7 @@ void SheMov::createToolBar(){
toolBar->addAction(mCdupA);
toolBar->addSeparator();
toolBar->addAction(mConfigA);
+ toolBar->addAction(mShowNoCoverDialogA);
toolBar->addSeparator();
toolBar->addAction(mShowNormalA);
toolBar->addAction(mShowArchivedA);