X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fcomponents%2Fsimple_preferences.cpp;h=11c9dd2ff2c8865a0e74f329c420254d15947569;hp=724627e549ee683f45d2a24767939162ebf32ade;hb=6f7987fa3273a25177db6b71ef1e8f07cfc86c9c;hpb=0b4bd344fbaf6a8d42ad49a1356df4047f726342 diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 724627e549..11c9dd2ff2 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -229,8 +229,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, /* Interface Panel */ START_SPREFS_CAT( Interface, "Interfaces settings" ); - CONFIG_GENERIC( "language", StringList, NULL, language ); + CONFIG_GENERIC( "language", StringList, NULL, language ); +#if !defined( WIN32 ) && !defined( HAVE_DBUS_3 ) + ui.OneInterfaceBox->hide(); +#endif /* interface */ /* p_config = config_FindConfig( VLC_OBJECT(p_intf), "intf" ); if( p_config->value.psz && strcmp( p_config->value.psz, "qt4" )) @@ -241,9 +244,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, CONFIG_GENERIC( "qt-always-video", Bool, NULL, qtAlwaysVideo ); CONFIG_GENERIC( "skins2-last", String, NULL, fileSkin); //FIXME File +#if defined( WIN32 ) || defined(HAVE_DBUS_3) CONFIG_GENERIC( "one-instance", Bool, NULL, OneInterfaceMode ); CONFIG_GENERIC( "playlist-enqueue", Bool, NULL, EnqueueOneInterfaceMode ); +#endif END_SPREFS_CAT; START_SPREFS_CAT( Subtitles, "Subtitles & OSD settings" );