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

Signed-off-by: crueter <crueter@eden-emu.dev>
Co-authored-by: MaranBr <maranbr@outlook.com>
Reviewed-on: #153
This commit is contained in:
crueter 2025-07-30 21:00:54 +02:00
parent 9e0e31132a
commit 06f8823882
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6

View file

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