[vlc-commits] Qt5: Fix ADD_ICON, again
Jean-Baptiste Kempf
git at videolan.org
Wed Aug 28 13:39:30 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 28 13:33:40 2013 +0200| [b25fe82212160e322589c384dffa3973e5194931] | committer: Jean-Baptiste Kempf
Qt5: Fix ADD_ICON, again
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b25fe82212160e322589c384dffa3973e5194931
---
modules/gui/qt4/components/playlist/vlc_model.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/playlist/vlc_model.cpp b/modules/gui/qt4/components/playlist/vlc_model.cpp
index 27040e8..119a49e 100644
--- a/modules/gui/qt4/components/playlist/vlc_model.cpp
+++ b/modules/gui/qt4/components/playlist/vlc_model.cpp
@@ -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" );
More information about the vlc-commits
mailing list