Browse Source

[desktop] windows: explicitly set Vista style (#153)

Signed-off-by: crueter <crueter@eden-emu.dev>
Co-authored-by: MaranBr <maranbr@outlook.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/153
pull/167/head
crueter 5 months ago
parent
commit
06f8823882
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 4
      src/yuzu/main.cpp

4
src/yuzu/main.cpp

@ -5676,6 +5676,10 @@ int main(int argc, char* argv[]) {
// Enables the core to make the qt created contexts current on std::threads
QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);
#ifdef _WIN32
QApplication::setStyle(QStringLiteral("windowsvista"));
#endif
QApplication app(argc, argv);
#ifdef _WIN32

Loading…
Cancel
Save