Browse Source

[desktop] windows: explicitly set Vista style

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/153/head
crueter 8 months ago
parent
commit
43aa971a59
  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 // Enables the core to make the qt created contexts current on std::threads
QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity); QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);
#ifdef _WIN32
QApplication::setStyle("Vista");
#endif
QApplication app(argc, argv); QApplication app(argc, argv);
#ifdef _WIN32 #ifdef _WIN32

Loading…
Cancel
Save