it shouldn't be ifdef... How did that even compile here?

This commit is contained in:
Nadia Holmquist Pedersen 2024-10-28 01:28:52 +01:00
parent 58ab33210a
commit dfd6338992
1 changed files with 1 additions and 1 deletions

View File

@ -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")