Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2022-09-23 21:25:54 +0300
committerJonathan White <support@dmapps.us>2022-10-16 00:37:08 +0300
commit56307e6cadd99f2c1685d268cd7398af46e98f0e (patch)
treea2fbbd202f8dfa92a6109b2dd0a4dd3bae4e8659
parent1bfb62747c52f94e9280b3b2a4f576b708500d6c (diff)
Enable dark title bar on windows when accent color is not used
* Fix #6775
-rw-r--r--share/CMakeLists.txt4
-rw-r--r--share/windows/qt.conf2
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