From 4ad5f2c3188e21a4489b1199ac0630599cca5db7 Mon Sep 17 00:00:00 2001 From: Georg Grabler Date: Sun, 30 Jan 2011 21:48:24 +0000 Subject: [PATCH] * Fixed setVisible on FocusOut --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5