Commit a6020fcc authored by Ludovic Fauvet's avatar Ludovic Fauvet

Qt: use explicit constructor for the xpm

parent f8f39c34
...@@ -64,7 +64,7 @@ PLModel::PLModel( playlist_t *_p_playlist, /* THEPL */ ...@@ -64,7 +64,7 @@ PLModel::PLModel( playlist_t *_p_playlist, /* THEPL */
/* Icons initialization */ /* Icons initialization */
#define ADD_ICON(type, x) icons[ITEM_TYPE_##type] = QIcon( x ) #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( FILE, ":/type/file" );
ADD_ICON( DIRECTORY, ":/type/directory" ); ADD_ICON( DIRECTORY, ":/type/directory" );
ADD_ICON( DISC, ":/type/disc" ); ADD_ICON( DISC, ":/type/disc" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment