From 1740ed5e0e765ebd8676733243eb3eaa81f95df1 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 26 12月 2023 17:32:13 +0800
Subject: [PATCH] Fix window visibility inconsistency

---
 src/widgets/widgetwindowagent_win.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/widgets/widgetwindowagent_win.cpp b/src/widgets/widgetwindowagent_win.cpp
index 52cc5ef..386a6cd 100644
--- a/src/widgets/widgetwindowagent_win.cpp
+++ b/src/widgets/widgetwindowagent_win.cpp
@@ -45,7 +45,7 @@
             ctx->setWindowAttribute(QStringLiteral("extra-margins"), defaultMargins);
 
             // Enable dark mode by default, otherwise the frame borders are white
-            // ctx->setWindowAttribute(QStringLiteral("dark-mode"), true);
+            ctx->setWindowAttribute(QStringLiteral("dark-mode"), true);
 
             ctx->installNativeEventFilter(this);
             ctx->installSharedEventFilter(this);

--
Gitblit v1.9.1