[vlc-commits] Qt: restore the playlist if it was minimized when closing VLC
Jean-Baptiste Kempf
git at videolan.org
Fri Apr 18 19:43:19 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 18 19:41:59 2014 +0200| [acdf1d4d1b09aaaad6d9de5afd2537560d30f33f] | committer: Jean-Baptiste Kempf
Qt: restore the playlist if it was minimized when closing VLC
Close #9223
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=acdf1d4d1b09aaaad6d9de5afd2537560d30f33f
---
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 cf443e0..4ce6e5e 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -977,7 +977,7 @@ void MainInterface::setStatusBarVisibility( bool b_visible )
void MainInterface::setPlaylistVisibility( bool b_visible )
{
- if ( !isPlDocked() && !THEDP->isDying() )
+ if ( !isPlDocked() && !THEDP->isDying() && (playlistWidget && !playlistWidget->isMinimized() ) )
playlistVisible = b_visible;
}
More information about the vlc-commits
mailing list