diff options
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); |