]> git.sesse.net Git - vlc/commitdiff
check qt4 version at runtime
authorRafaël Carré <funman@videolan.org>
Sat, 8 Mar 2008 13:08:05 +0000 (14:08 +0100)
committerRafaël Carré <funman@videolan.org>
Sat, 8 Mar 2008 13:08:05 +0000 (14:08 +0100)
modules/gui/qt4/qt4.cpp

index fa2b2792ea66dd1090aeb051f93f62706814ad0d..40fce2fa4eea5c7b62fcf9606f0bafab058035e9 100644 (file)
@@ -294,7 +294,8 @@ static void Init( intf_thread_t *p_intf )
      * see commits 21610 21622 21654 for reference */
 
     /* If you don't have a gconftool-2 binary, you should comment this line */
-    QApplication::setDesktopSettingsAware( false );
+    if( strcmp( qVersion(), "4.4.0" ) < 0 ) /* fixed in Qt 4.4.0 */
+        QApplication::setDesktopSettingsAware( false );
 #endif
 
     /* Start the QApplication here */