From 430994e0cfe1aa1e2df0a7e5b3bfb90699e98447 Mon Sep 17 00:00:00 2001 From: Pierre Lamot Date: Wed, 20 Dec 2017 17:58:10 +0100 Subject: [PATCH] Qt: spref, move DirectX specific options to the DirectX GroupBox Ref #19305 Signed-off-by: Jean-Baptiste Kempf --- modules/gui/qt/components/simple_preferences.cpp | 2 -- modules/gui/qt/ui/sprefs_video.ui | 36 +++++++++++++----------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/modules/gui/qt/components/simple_preferences.cpp b/modules/gui/qt/components/simple_preferences.cpp index 0e40eff9d6..8d4c66e8d8 100644 --- a/modules/gui/qt/components/simple_preferences.cpp +++ b/modules/gui/qt/components/simple_preferences.cpp @@ -369,8 +369,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, CONNECT( ui.overlay, toggled( bool ), ui.hwYUVBox, setEnabled( bool ) ); #else ui.directXBox->setVisible( false ); - ui.overlay->setVisible( false ); - ui.hwYUVBox->setVisible( false ); #endif #ifdef __OS2__ diff --git a/modules/gui/qt/ui/sprefs_video.ui b/modules/gui/qt/ui/sprefs_video.ui index 6c691f34ab..abfc1ad3c3 100644 --- a/modules/gui/qt/ui/sprefs_video.ui +++ b/modules/gui/qt/ui/sprefs_video.ui @@ -8,7 +8,7 @@ 0 0 682 - 577 + 679 @@ -70,13 +70,6 @@ - - - - Accelerated video output (Overlay) - - - @@ -84,13 +77,6 @@ - - - - Use hardware YUV->RGB conversions - - - @@ -100,7 +86,21 @@ DirectX + + + + Use hardware YUV->RGB conversions + + + + + + Accelerated video output (Overlay) + + + + Display device @@ -110,7 +110,7 @@ - + @@ -316,8 +316,10 @@ enableVideo fullscreen - overlay + windowDecorations outputModule + overlay + hwYUVBox dXdisplayDevice kvaFixT23 kvaVideoMode -- 2.11.4.GIT