From: Rafaël Carré Date: Sat, 8 Mar 2008 13:08:05 +0000 (+0100) Subject: check qt4 version at runtime X-Git-Tag: 0.9.0-test0~2253 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a701afad6a042d49ec73891570929249b5555a45;p=vlc check qt4 version at runtime --- diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp index fa2b2792ea..40fce2fa4e 100644 --- a/modules/gui/qt4/qt4.cpp +++ b/modules/gui/qt4/qt4.cpp @@ -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 */