X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fqt4.cpp;h=ccfd614167de201df1f9c610f6c4e4f11ff540e4;hb=5a6c9e944a90d2d9da88a03b5e3de548a3592d7d;hp=fa2b2792ea66dd1090aeb051f93f62706814ad0d;hpb=ee61e050560dec84278eed6a1dcb3120e6eddddc;p=vlc diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp index fa2b2792ea..ccfd614167 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 */ @@ -346,7 +347,7 @@ static void Init( intf_thread_t *p_intf ) /* Start playing if needed */ if( !p_intf->pf_show_dialog && p_intf->b_play ) { - playlist_Control( THEPL, PLAYLIST_AUTOPLAY, VLC_FALSE ); + playlist_Control( THEPL, PLAYLIST_PLAY, VLC_FALSE ); } /* Explain to the core how to show a dialog :D */ @@ -383,7 +384,7 @@ static void Init( intf_thread_t *p_intf ) /* Destroy first the main interface because it is connected to some slots in the MainInputManager */ - if( p_intf->p_sys->p_mi ) delete p_intf->p_sys->p_mi; + delete p_intf->p_sys->p_mi; /* Destroy then other windows, because some are connected to some slots in the MainInputManager */