[vlc-devel] commit: Qt: on startup, if there is no input, show the cone ( Jean-Philippe Andre )
git version control
git at videolan.org
Sat Jan 17 21:12:21 CET 2009
vlc | branch: master | Jean-Philippe Andre <jpeg at via.ecp.fr> | Sat Jan 17 20:58:21 2009 +0100| [4ce128c0b86f3a30472d0b03ebcd2643e87c7fb9] | committer: Jean-Philippe Andre
Qt: on startup, if there is no input, show the cone
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ce128c0b86f3a30472d0b03ebcd2643e87c7fb9
---
modules/gui/qt4/input_manager.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index c1ec98b..ab1f212 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -545,6 +545,12 @@ void InputManager::requestArtUpdate()
playlist_AskForArtEnqueue( p_playlist, input_GetItem( p_input ), pl_Unlocked );
pl_Release( p_intf );
}
+ else
+ {
+ /* No input will signal the cover art to update,
+ * let's do it ourself */
+ UpdateArt();
+ }
}
void InputManager::UpdateArt()
More information about the vlc-devel
mailing list