]> git.sesse.net Git - vlc/commitdiff
Fix use of qcleanlooks style
authorRafaël Carré <funman@videolan.org>
Wed, 5 Sep 2007 16:09:19 +0000 (16:09 +0000)
committerRafaël Carré <funman@videolan.org>
Wed, 5 Sep 2007 16:09:19 +0000 (16:09 +0000)
modules/gui/qt4/qt4.cpp

index 90dc23416db2eff905faf188d2ccd1c2f3e64ccd..a1c8591970b8c52cc4d820a7294adbc4227e90c6 100644 (file)
@@ -209,17 +209,16 @@ static void Init( intf_thread_t *p_intf )
     int argc = 1;
 
     Q_INIT_RESOURCE( vlc );
+#ifndef WIN32
+    /* KLUDGE:
+     * disables icon theme use because that makes cleanlook style bug
+     * see commits 21610 21622 21654 for reference */
+    QApplication::setDesktopSettingsAware(false);
+#endif
     QApplication *app = new QApplication( argc, argv , true );
     app->setWindowIcon( QIcon( QPixmap(vlc_xpm) ) );
     p_intf->p_sys->p_app = app;
 
-#ifndef WIN32
-    /* kludge:
-     * forces plastique style as cleanlooks bugs on gnome */
-    QPlastiqueStyle *plastique = new QPlastiqueStyle;
-    app->setStyle( plastique );
-#endif
-
     // Initialize timers
     DialogsProvider::getInstance( p_intf );