]> git.sur5r.net Git - minitube/commitdiff
Fixed disabled toolbar after exiting full screen
authorFlavio Tordini <flavio.tordini@gmail.com>
Tue, 28 Sep 2010 16:06:37 +0000 (18:06 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Tue, 28 Sep 2010 16:06:37 +0000 (18:06 +0200)
src/MainWindow.cpp

index e240745de0aa20ad3c3a9adcc06d10d00e8c26dd..c87c398be0d84b2e8d7c7be7362441f510d65d32 100755 (executable)
@@ -896,13 +896,7 @@ void MainWindow::toggleDefinitionMode() {
 
 void MainWindow::showFullscreenToolbar(bool show) {
     if (!m_fullscreen) return;
-
-    if (show) {
-        mainToolBar->show();
-    } else {
-        mainToolBar->hide();
-    }
-    mainToolBar->setEnabled(show);
+    mainToolBar->setVisible(show);
 }
 
 void MainWindow::showFullscreenPlaylist(bool show) {