Skip to content

Commit

Permalink
it shouldn't be ifdef... How did that even compile here?
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Oct 28, 2024
1 parent 58ab332 commit dfd6338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/qt_sdl/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit dfd6338

Please sign in to comment.