diff options
author | Jonathan White <support@dmapps.us> | 2022-09-23 21:25:54 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2022-10-17 02:17:02 +0300 |
commit | 035c99896be8e94aec9d4d8baa7097aae80431ac (patch) | |
tree | 6158a05ed553955a0da244594e9da52fe0edb929 | |
parent | b56cc62942d06c82edad105fa1a1f3212c9b3b2f (diff) |
Enable dark title bar on windows when accent color is not used
* Fix #6775
-rw-r--r-- | share/CMakeLists.txt | 4 | ||||
-rw-r--r-- | share/windows/qt.conf | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/share/CMakeLists.txt b/share/CMakeLists.txt index 34017e95c..90f7e6e68 100644 --- a/share/CMakeLists.txt +++ b/share/CMakeLists.txt @@ -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) diff --git a/share/windows/qt.conf b/share/windows/qt.conf new file mode 100644 index 000000000..846f84c86 --- /dev/null +++ b/share/windows/qt.conf @@ -0,0 +1,2 @@ +[Platforms] +WindowsArguments = darkmode=1 |