[vlc-commits] Qt: correctly restore the undocked playlist state

Jean-Baptiste Kempf git at videolan.org
Tue Aug 20 19:40:13 CEST 2013


vlc/vlc-2.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 20 19:39:24 2013 +0200| [2a5ce5249d70bff04d5d6c121cc6d12517e61dd9] | committer: Jean-Baptiste Kempf

Qt: correctly restore the undocked playlist state

Close #9223

(cherry picked from commit 27b03afc09b78378d070d72d4386972a6a20016b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=2a5ce5249d70bff04d5d6c121cc6d12517e61dd9
---

 modules/gui/qt4/main_interface.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 6d80a11..1745bee 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -965,7 +965,7 @@ void MainInterface::setStatusBarVisibility( bool b_visible )
 
 void MainInterface::setPlaylistVisibility( bool b_visible )
 {
-    if ( !isPlDocked() )
+    if ( !isPlDocked() && !THEDP->isDying() )
         playlistVisible = b_visible;
 }
 



More information about the vlc-commits mailing list