[vlc-commits] main_interface_win32: Display the taskbar buttons upon creation if required
Hugo Beauzée-Luyssen
git at videolan.org
Thu Dec 29 10:00:18 CET 2016
vlc/vlc-2.2 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 29 09:35:24 2016 +0100| [806efd462e3a763052035a8f3ba3cf326274dd74] | committer: Jean-Baptiste Kempf
main_interface_win32: Display the taskbar buttons upon creation if required
fix #6868
(cherry picked from commit b7a2ed7c23ba555797ca284e1a8425a7387e4a62)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=806efd462e3a763052035a8f3ba3cf326274dd74
---
modules/gui/qt4/main_interface_win32.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt4/main_interface_win32.cpp b/modules/gui/qt4/main_interface_win32.cpp
index 9f40fed..25b653e 100644
--- a/modules/gui/qt4/main_interface_win32.cpp
+++ b/modules/gui/qt4/main_interface_win32.cpp
@@ -193,6 +193,8 @@ void MainInterface::createTaskBarButtons()
}
CONNECT( THEMIM->getIM(), playingStatusChanged( int ),
this, changeThumbbarButtons( int ) );
+ if( THEMIM->getIM()->playingStatus() == PLAYING_S )
+ changeThumbbarButtons( THEMIM->getIM()->playingStatus() );
}
#if HAS_QT5
More information about the vlc-commits
mailing list