[vlc-devel] [PATCH] Qt: Do not use the xpm window icon on Mac, it's ugly
Juho Vähä-Herttua
juhovh at iki.fi
Fri Jul 30 14:43:54 CEST 2010
---
modules/gui/qt4/qt4.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index d689c4a..5965c05 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -423,10 +423,12 @@ static void *Thread( void *obj )
QSettings::UserScope, "vlc", "vlc-qt-interface" );
/* Icon setting */
+#ifndef Q_WS_MAC
if( QDate::currentDate().dayOfYear() >= 352 ) /* One Week before Xmas */
app.setWindowIcon( QIcon(vlc_christmas_xpm) );
else
app.setWindowIcon( QIcon(vlc_xpm) );
+#endif
/* Initialize timers and the Dialog Provider */
DialogsProvider::getInstance( p_intf );
--
1.6.5.7
More information about the vlc-devel
mailing list