From dfd633899286d44b6c9751564d2d47ab9c5c1415 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Mon, 28 Oct 2024 01:28:52 +0100 Subject: [PATCH] it shouldn't be ifdef... How did that even compile here? --- src/frontend/qt_sdl/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/Window.cpp b/src/frontend/qt_sdl/Window.cpp index 5c599e70..0af72ef6 100644 --- a/src/frontend/qt_sdl/Window.cpp +++ b/src/frontend/qt_sdl/Window.cpp @@ -265,7 +265,7 @@ MainWindow::MainWindow(int id, EmuInstance* inst, QWidget* parent) : setAcceptDrops(true); setFocusPolicy(Qt::ClickFocus); -#ifdef QT_VERSION_MAJOR == 6 && WIN32 +#if QT_VERSION_MAJOR == 6 && WIN32 // The "windows11" theme has pretty massive padding around menubar items, this makes Config and Help not fit in a window at 1x screen sizing // So let's reduce the padding a bit. if (QApplication::style()->name() == "windows11")