]> git.sur5r.net Git - minitube/commitdiff
Hides Youtube action when in fullscreen
authorFlavio Tordini <flavio.tordini@gmail.com>
Wed, 29 Jul 2009 10:50:32 +0000 (12:50 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Wed, 29 Jul 2009 10:50:32 +0000 (12:50 +0200)
src/MainWindow.cpp

index 3123eda0356a5b7027ce0a771d7a8d328041eeab..34b73fc9e299f2b36d0e2f7c1d044fefe08d34e8 100755 (executable)
@@ -506,6 +506,8 @@ void MainWindow::fullscreen() {
 
     // No compact view action when in full screen
     compactViewAct->setVisible(m_fullscreen);
+    // Also no Youtube action since it opens a new window
+    webPageAct->setVisible(m_fullscreen);
 
     // Hide anything but the video
     mediaView->setPlaylistVisible(m_fullscreen);