[vlc-commits] qt: fix directx option appearing on non-Windows machines
Lyndon Brown
git at videolan.org
Mon Sep 28 09:25:24 CEST 2020
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sun Apr 21 07:10:36 2019 +0100| [04c80eada6a6f9706359e3d334e602eca74db0e3] | committer: Pierre Lamot
qt: fix directx option appearing on non-Windows machines
730c040ef49c30f1957bf7d66848bb779f3b9aa1 mistakenly got rid of the
instruction to hide the groupbox
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04c80eada6a6f9706359e3d334e602eca74db0e3
---
modules/gui/qt/dialogs/preferences/simple_preferences.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/dialogs/preferences/simple_preferences.cpp b/modules/gui/qt/dialogs/preferences/simple_preferences.cpp
index 5c567a854d..c9b90778a6 100644
--- a/modules/gui/qt/dialogs/preferences/simple_preferences.cpp
+++ b/modules/gui/qt/dialogs/preferences/simple_preferences.cpp
@@ -399,6 +399,8 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
#ifdef _WIN32
CONFIG_BOOL( "directx-hw-yuv", hwYUVBox );
+#else
+ ui.directXBox->setVisible( false );
#endif
#ifdef __OS2__
More information about the vlc-commits
mailing list