From 71b4a4558c4c479ee8e7cfc4d5a396e95b55684a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 24 Mar 2021 02:10:35 +0100 Subject: [PATCH] (DISABLE_MENU) Add another conditional --- ui/drivers/ui_qt.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/drivers/ui_qt.cpp b/ui/drivers/ui_qt.cpp index fe01eed48a..f237446069 100644 --- a/ui/drivers/ui_qt.cpp +++ b/ui/drivers/ui_qt.cpp @@ -51,7 +51,11 @@ #include "qt/ui_qt_load_core_window.h" #include "qt/coreinfodialog.h" #include "qt/playlistentrydialog.h" +#if defined(HAVE_MENU) +#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_SLANG) || defined(HAVE_HLSL) #include "qt/shaderparamsdialog.h" +#endif +#endif #include "qt/coreoptionsdialog.h" #include "qt/viewoptionsdialog.h"