diff options
author | Arno <am@disconnect.de> | 2011-12-17 10:55:03 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-12-17 10:55:03 +0100 |
commit | 069ad781c5e1b886385a47441fb03da06f183cff (patch) | |
tree | 88089054daeabb3321ea9e8229870352011b655b /shemov.cpp | |
parent | 27d2b736a8fc33bc2f98212ebde25d97fcefac16 (diff) | |
download | SheMov-069ad781c5e1b886385a47441fb03da06f183cff.tar.gz SheMov-069ad781c5e1b886385a47441fb03da06f183cff.tar.bz2 SheMov-069ad781c5e1b886385a47441fb03da06f183cff.zip |
Code cleanup
Remove obsolete code for movies without covers. This has been
implemented in DbAnalyzer.
Diffstat (limited to 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -326,16 +326,6 @@ void SheMov::createActions(){ connect(mNewMovieWizardA, SIGNAL(triggered()), this, SLOT(newMovieWizard())); mArchiveSelectedA = new QAction(tr("Archive selected..."), this); connect(mArchiveSelectedA, SIGNAL(triggered()), this, SLOT(newMovieWizardWithFiles())); - mCleanupMapper = new QSignalMapper(this); - mCleanupGroup = new QActionGroup(this); - QAction *cleanup1 = new QAction(tr("Cleanup actors..."), this); - connect(cleanup1, SIGNAL(triggered()), mCleanupMapper, SLOT(map())); - mCleanupMapper->setMapping(cleanup1, "actors"); - mCleanupGroup->addAction(cleanup1); - QAction *cleanup2 = new QAction(tr("Cleanup genres..."), this); - connect(cleanup2, SIGNAL(triggered()), mCleanupMapper, SLOT(map())); - mCleanupMapper->setMapping(cleanup2, "genres"); - mCleanupGroup->addAction(cleanup2); mConsistencyA = new QAction(tr("Check consisteny..."), this); connect(mConsistencyA, SIGNAL(triggered()), this, SLOT(checkConsistency())); mAnalyzerA = new QAction(tr("Analyze Db..."), this); @@ -611,11 +601,7 @@ void SheMov::createActions(){ mOpenWithMapperAV = new QSignalMapper(this); connect(mOpenWithMapperFS, SIGNAL(mapped(QString)), mFSWidget, SLOT(playSelected(QString))); connect(mOpenWithMapperAV, SIGNAL(mapped(QString)), mATree, SLOT(playSelected(QString))); - connect(mCleanupMapper, SIGNAL(mapped(QString)), mATree, SLOT(cleanDatabase(QString))); connect(viewMapper, SIGNAL(mapped(int)), mATree, SLOT(setFileViewMode(int))); - - //hover - } void SheMov::createMenus(){ @@ -624,9 +610,6 @@ void SheMov::createMenus(){ fileMenu->addAction(mPlaySelectedFSA); fileMenu->addSeparator(); fileMenu->addAction(mNewMovieWizardA); - QMenu *cleanupMenu = new QMenu(tr("Clean database"), this); - cleanupMenu->addActions(mCleanupGroup->actions()); - fileMenu->addMenu(cleanupMenu); fileMenu->addAction(mConsistencyA); fileMenu->addAction(mAnalyzerA); fileMenu->addAction(mShowNoCoverDialogA); |