diff options
| author | crueter <crueter@eden-emu.dev> | 2025-07-30 21:00:54 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-07-30 21:00:54 +0200 |
| commit | 06f8823882e8c303ce4c100f83637b84f9ea4d69 (patch) | |
| tree | db911c0e4926486fc1953ee94a3f6662f399d4bd /src/yuzu/main.cpp | |
| parent | 9e0e31132a2ae11675af9762bcabff4dd0010c9f (diff) | |
[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
Diffstat (limited to 'src/yuzu/main.cpp')
| -rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 52e7500cd3..9b35069307 100644 --- a/src/yuzu/main.cpp +++ b/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 |
