[vlc-commits] Qt: CoverArtLabel: missing refcount
Francois Cartegnie
git at videolan.org
Sat Apr 6 22:02:04 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Apr 6 21:55:43 2013 +0200| [1bcf73a809f3891bcd72cdfb80674e87871d1b13] | committer: Francois Cartegnie
Qt: CoverArtLabel: missing refcount
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1bcf73a809f3891bcd72cdfb80674e87871d1b13
---
modules/gui/qt4/components/interface_widgets.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index e91d526..b22fb43 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -654,7 +654,10 @@ CoverArtLabel::CoverArtLabel( QWidget *parent, intf_thread_t *_p_i )
p_item = THEMIM->currentInputItem();
if( p_item )
+ {
+ vlc_gc_incref( p_item );
showArtUpdate( p_item );
+ }
else
showArtUpdate( "" );
}
More information about the vlc-commits
mailing list