summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-07-18 12:12:05 +0200
committerArno <am@disconnect.de>2010-07-18 12:12:05 +0200
commit3befd105e04fb5d724c13863b25f720e239bc14c (patch)
treed318c048aa983f681e13e23dcc2a2da95b95c4a5 /shemov.cpp
parent88791c89ac1066a9c0118120e10ec3cc19c2ec72 (diff)
downloadSheMov-3befd105e04fb5d724c13863b25f720e239bc14c.tar.gz
SheMov-3befd105e04fb5d724c13863b25f720e239bc14c.tar.bz2
SheMov-3befd105e04fb5d724c13863b25f720e239bc14c.zip
Implemented setDvdNo for FilesTree
The dvd number can be set for several files at once with this function. Also fixed a little bug when showing the series name in the status bar. Only show file part number if it is > 0.
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 46567c2..1ac1db3 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -418,6 +418,8 @@ void SheMov::createActions(){
//Tree FileWidget actions
mMoveToBurnA = new QAction(tr("Move to burn directory"), this);
connect(mMoveToBurnA, SIGNAL(triggered()), mATree->filesWidget(), SLOT(moveToBurn()));
+ mSetDvdNoA = new QAction(tr("Set dvd number"), this);
+ connect(mSetDvdNoA, SIGNAL(triggered()), mATree->filesWidget(), SLOT(setDvdNo()));
// misc
mOpenWithMapperFS = new QSignalMapper(this);
@@ -564,6 +566,10 @@ void SheMov::createMenus(){
//ArchiveTreeView fileWidget context menu
mATree->filesWidget()->filesTree()->addAction(mMoveToBurnA);
+ QAction *sep10 = new QAction(this);
+ sep10->setSeparator(true);
+ mATree->filesWidget()->filesTree()->addAction(sep10);
+ mATree->filesWidget()->filesTree()->addAction(mSetDvdNoA);
}
void SheMov::createOpenWithMenuFS(){