[vlc-commits] commit: Qt, sprefs: add dependency of auto-resize, to integration of video in intf (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Sun Dec 26 14:02:11 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Dec 26 14:01:15 2010 +0100| [b562aae175feac0abeb6da0bf3a4d25617ff09d7] | committer: Jean-Baptiste Kempf
Qt, sprefs: add dependency of auto-resize, to integration of video in intf
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b562aae175feac0abeb6da0bf3a4d25617ff09d7
---
modules/gui/qt4/components/simple_preferences.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index eaee253..d79fedc 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -590,6 +590,10 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui.skinsPreview->setPreview( InterfacePreviewWidget::SKINS );
CONFIG_BOOL( "embedded-video", embedVideo );
+ CONFIG_BOOL( "qt-video-autoresize", resizingBox );
+ CONNECT( ui.embedVideo, toggled( bool ), ui.resizingBox, setEnabled( bool ) );
+ ui.resizingBox->setEnabled( ui.embedVideo->isChecked() );
+
CONFIG_BOOL( "qt-fs-controller", fsController );
CONFIG_BOOL( "qt-system-tray", systrayBox );
CONFIG_BOOL( "qt-notification", sysPop );
@@ -600,7 +604,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_BOOL( "playlist-tree", treePlaylist );
CONFIG_GENERIC_FILE( "skins2-last", File, ui.skinFileLabel,
ui.fileSkin, ui.skinBrowse );
- CONFIG_BOOL( "qt-video-autoresize", resizingBox );
CONFIG_GENERIC( "album-art", IntegerList, ui.artFetchLabel,
artFetcher );
More information about the vlc-commits
mailing list