From: Ludovic Fauvet Date: Fri, 21 Jun 2013 11:56:21 +0000 (+0200) Subject: Qt: fallback on the high-resolution icons instead of the xpm X-Git-Tag: 2.1.0-git~69 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=78e989efff5ecf472985fa607e939bb1530cd4be;p=vlc Qt: fallback on the high-resolution icons instead of the xpm --- diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp index f5f1ab847a..2492dd579e 100644 --- a/modules/gui/qt4/qt4.cpp +++ b/modules/gui/qt4/qt4.cpp @@ -45,8 +45,6 @@ #include #endif -#include "../../../share/icons/32x32/vlc.xpm" -#include "../../../share/icons/32x32/vlc-xmas.xpm" #include #include @@ -469,9 +467,9 @@ static void *Thread( void *obj ) /* Icon setting, Mac uses icon from .icns */ #ifndef Q_WS_MAC if( QDate::currentDate().dayOfYear() >= QT_XMAS_JOKE_DAY && var_InheritBool( p_intf, "qt-icon-change" ) ) - app.setWindowIcon( QIcon::fromTheme( "vlc-xmas", QIcon(vlc_xmas_xpm) ) ); + app.setWindowIcon( QIcon::fromTheme( "vlc-xmas", QIcon( ":/logo/vlc128-xmas.png" ) ) ); else - app.setWindowIcon( QIcon::fromTheme( "vlc", QIcon(vlc_xpm) ) ); + app.setWindowIcon( QIcon::fromTheme( "vlc", QIcon( ":/logo/vlc256.png" ) ) ); #endif /* Initialize timers and the Dialog Provider */