From 69a68dd273718d30a44439a1c0e74974f69cf427 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Tue, 28 Sep 2010 18:06:37 +0200 Subject: [PATCH] Fixed disabled toolbar after exiting full screen --- src/MainWindow.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index e240745..c87c398 100755 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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) { -- 2.39.5