]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/info_panels.cpp
Qt: Add a parent to the CoverArtLabel We should add parents to all QWidgets created...
[vlc] / modules / gui / qt4 / components / info_panels.cpp
index 5b78c9b7665806573681e43f2496aae80de4aeb7..a6c7f88b1ffc9b70c7416e914e6dbb47dfe0f200 100644 (file)
@@ -106,7 +106,7 @@ MetaPanel::MetaPanel( QWidget *parent,
     line++;
 
     /* ART_URL */
-    art_cover = new CoverArtLabel( VLC_OBJECT( p_intf ) );
+    art_cover = new CoverArtLabel( this, VLC_OBJECT( p_intf ) );
     metaLayout->addWidget( art_cover, line, 8, 4, 2, Qt::AlignRight );
 
 /* Settings is unused */