From: Jean-Baptiste Kempf Date: Thu, 16 Oct 2008 10:52:18 +0000 (+0200) Subject: [Qt] Add the video-on-title in Simple Preferences. X-Git-Tag: 1.0.0-pre1~2454 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=51d01bba9204cc9d9ab5b15105948055230ef75f;p=vlc [Qt] Add the video-on-title in Simple Preferences. In the complete preferences it is not linked directly to OSD, so users don't find it. Linked to Closed #2207. --- diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index 3cfb8f40e7..ca1c776d51 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -515,6 +515,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, START_SPREFS_CAT( Subtitles, qtr("Subtitles & On Screen Display Settings") ); CONFIG_GENERIC( "osd", Bool, NULL, OSDBox); + CONFIG_GENERIC( "video-title-show", Bool, NULL, OSDTitleBox); + CONFIG_GENERIC( "subsdec-encoding", StringList, NULL, encoding ); CONFIG_GENERIC( "sub-language", String, NULL, preferredLanguage ); diff --git a/modules/gui/qt4/ui/sprefs_subtitles.ui b/modules/gui/qt4/ui/sprefs_subtitles.ui index 7f8fab3d75..61761fb0fa 100644 --- a/modules/gui/qt4/ui/sprefs_subtitles.ui +++ b/modules/gui/qt4/ui/sprefs_subtitles.ui @@ -6,7 +6,7 @@ 0 0 434 - 410 + 441 @@ -27,11 +27,12 @@ _("Enable OSD") - - true - - - false + + + + + + _("Show media title on video")