[vlc-commits] Qt: use explicit constructor for the xpm

Ludovic Fauvet git at videolan.org
Mon Jul 15 16:56:47 CEST 2013


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Mon Jul 15 11:38:11 2013 +0200| [a6020fcc9ab2781daf1727aa220ca9f8215388fc] | committer: Ludovic Fauvet

Qt: use explicit constructor for the xpm

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6020fcc9ab2781daf1727aa220ca9f8215388fc
---

 modules/gui/qt4/components/playlist/playlist_model.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 4a72025..932a4b0 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -64,7 +64,7 @@ PLModel::PLModel( playlist_t *_p_playlist,  /* THEPL */
 
     /* Icons initialization */
 #define ADD_ICON(type, x) icons[ITEM_TYPE_##type] = QIcon( x )
-    ADD_ICON( UNKNOWN , type_unknown_xpm );
+    ADD_ICON( UNKNOWN , QPixmap( type_unknown_xpm ) );
     ADD_ICON( FILE, ":/type/file" );
     ADD_ICON( DIRECTORY, ":/type/directory" );
     ADD_ICON( DISC, ":/type/disc" );



More information about the vlc-commits mailing list