]> git.sesse.net Git - vlc/commitdiff
Qt5: Fix ADD_ICON, again
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 28 Aug 2013 11:33:40 +0000 (13:33 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 28 Aug 2013 11:33:40 +0000 (13:33 +0200)
modules/gui/qt4/components/playlist/vlc_model.cpp

index 27040e85b61c2e4d63649154aed29597ad8a2c8a..119a49e236fd43b4a7d5f2ba0ecbe4c687a6d288 100644 (file)
@@ -53,7 +53,7 @@ VLCModel::VLCModel( intf_thread_t *_p_intf, QObject *parent )
 {
     /* 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" );