From: Georg Grabler Date: Sun, 30 Jan 2011 21:48:24 +0000 (+0000) Subject: * Fixed setVisible on FocusOut X-Git-Tag: 1.4.1~2^2~4^2~2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ad5f2c3188e21a4489b1199ac0630599cca5db7;p=minitube * Fixed setVisible on FocusOut --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 6fdb6c4..93c55b8 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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); }