diff options
author | Jonathan White <support@dmapps.us> | 2022-09-23 21:25:54 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2022-09-23 21:32:37 +0300 |
commit | 7e4db3f6962710bc9845786b38cecec567d36c9f (patch) | |
tree | ed0abd999edac987449d4b8c4f5bbbfe2607f052 | |
parent | eaa363d8c032fc5513d4566d72f249a6e4e9d293 (diff) |
Enable dark title bar on windows when accent color is not usedhotfix/windows-titlebar
* 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 |