]> git.sur5r.net Git - minitube/commitdiff
* Fixed setVisible on FocusOut
authorGeorg Grabler <georg@grabler.net>
Sun, 30 Jan 2011 21:48:24 +0000 (21:48 +0000)
committerGeorg Grabler <georg@grabler.net>
Sun, 30 Jan 2011 21:48:24 +0000 (21:48 +0000)
src/MainWindow.cpp

index 6fdb6c4dcf7d54a0a01a933565be5f92f9512d48..93c55b88e6de42b1aeaa2b13e35007267871f2bb 100644 (file)
@@ -114,7 +114,7 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) {
                 this->mainToolBar->setVisible(true);
             }
         }
-        if (event->type() == QEvent::FocusOut) {
+        if (event->type() == QEvent::FocusOut && this->m_fullscreen) {
             this->mediaView->setPlaylistVisible(false);
             this->mainToolBar->setVisible(false);
         }