mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
only apply windows11 theme workaround to Qt6. Qt5 doesn't have it anywya.
This commit is contained in:
parent
b03bceb5c1
commit
98d969ab15
@ -265,7 +265,7 @@ MainWindow::MainWindow(int id, EmuInstance* inst, QWidget* parent) :
|
||||
setAcceptDrops(true);
|
||||
setFocusPolicy(Qt::ClickFocus);
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef 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")
|
||||
|
Loading…
Reference in New Issue
Block a user