it shouldn't be ifdef... How did that even compile here?
Some checks failed
macOS / ${{ matrix.arch }} (arm64) (push) Has been cancelled
macOS / ${{ matrix.arch }} (x86_64) (push) Has been cancelled
Ubuntu / x86_64 (push) Has been cancelled
Ubuntu / aarch64 (push) Has been cancelled
Windows / build (push) Has been cancelled
macOS / Universal binary (push) Has been cancelled

This commit is contained in:
Nadia Holmquist Pedersen 2024-10-28 01:28:52 +01:00
parent 58ab33210a
commit dfd6338992

View File

@ -265,7 +265,7 @@ MainWindow::MainWindow(int id, EmuInstance* inst, QWidget* parent) :
setAcceptDrops(true); setAcceptDrops(true);
setFocusPolicy(Qt::ClickFocus); 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 // 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. // So let's reduce the padding a bit.
if (QApplication::style()->name() == "windows11") if (QApplication::style()->name() == "windows11")