vlc | branch: master | Francois Cartegnie <[email protected]> | 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( "" ); } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
