summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp20
1 files changed, 3 insertions, 17 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 23d4c54..ac8e38c 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -210,12 +210,6 @@ void SheMov::configure(){
}
void SheMov::tabChanged(int newTab){
- if(newTab == FileManager || newTab == Movies || newTab == Pictures || newTab == ArchiveBrowserTab){
- menuBar()->setVisible(false);
- }else{
- menuBar()->setVisible(true);
- }
- mRandomEditMenuA->setVisible(newTab == RandomDisp);
statusbarMessage(QString());
switch(newTab){
case FileManager:
@@ -231,6 +225,9 @@ void SheMov::tabChanged(int newTab){
case ArchiveBrowserTab:
setWindowTitle(tr("Archive Browser"));
break;
+ case RandomDisp:
+ setWindowTitle(tr("Random Browser"));
+ break;
default:
setDuration(0x0, false);
;;
@@ -348,17 +345,6 @@ void SheMov::createMenus(){
analyzeMenu->addAction(mAnalyzeGenresA);
analyzeMenu->addAction(mAnalyzeSeriesA);
analyzeMenu->addAction(mAnalyzePartsA);
-
- QMenu *helpMenu = new QMenu(tr("&Help"), this);
- helpMenu->addAction(mAboutShemovA);
- helpMenu->addAction(mAboutQtA);
- helpMenu->addSeparator();
- helpMenu->addAction(mStatisticsA);
- menuBar()->addMenu(helpMenu);
-
- // Random
- mRandomEditMenu = mRandomTab->editMenu();
- mRandomEditMenuA = menuBar()->addMenu(mRandomEditMenu);
}
void SheMov::writeSettings(){