[qt] Fix title bar for windows being forced to light theme #236

Merged
crueter merged 4 commits from wintheme into master 2025-08-10 22:14:13 +02:00
Showing only changes of commit 7002fe8295 - Show all commits

View file

@ -63,6 +63,4 @@ function(copy_yuzu_Qt6_deps target_dir)
else()
# Update for non-MSVC platforms if needed
endif()
# Fixes dark mode being forced automatically even when light theme is set in app settings.
file(WRITE "${CMAKE_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}/qt.conf" "[Platforms]\nWindowsArguments = darkmode=0")
endfunction(copy_yuzu_Qt6_deps)