Enable dark title bar on windows when accent color is not used

* Fix #6775
This commit is contained in:
Jonathan White 2022-09-23 14:25:54 -04:00
parent 1bfb62747c
commit 56307e6cad
2 changed files with 6 additions and 0 deletions

View File

@ -66,6 +66,10 @@ if(APPLE)
install(FILES macosx/keepassxc.icns DESTINATION ${DATA_INSTALL_DIR})
endif()
if(WIN32)
install(FILES windows/qt.conf DESTINATION ${BIN_INSTALL_DIR})
endif()
install(FILES icons/application/256x256/apps/keepassxc.png DESTINATION ${DATA_INSTALL_DIR}/icons/application/256x256/apps)
add_custom_target(icons)

2
share/windows/qt.conf Normal file
View File

@ -0,0 +1,2 @@
[Platforms]
WindowsArguments = darkmode=1