From 8a0b7831e988a347603e6abb4e8294010ab9b0e0 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周三, 27 12月 2023 06:26:26 +0800
Subject: [PATCH] Set project version

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

diff --git a/src/widgets/widgetwindowagent_win.cpp b/src/widgets/widgetwindowagent_win.cpp
index 7340fdb..d53bec5 100644
--- a/src/widgets/widgetwindowagent_win.cpp
+++ b/src/widgets/widgetwindowagent_win.cpp
@@ -44,7 +44,7 @@
             static QVariant defaultMargins = QVariant::fromValue(QMargins(0, 1, 0, 0));
             ctx->setWindowAttribute(QStringLiteral("extra-margins"), defaultMargins);
 
-            // Enable dark mode by default, otherwise the frame borders are white
+            // Enable dark mode by default, otherwise the system borders are white
             ctx->setWindowAttribute(QStringLiteral("dark-mode"), true);
 
             ctx->installNativeEventFilter(this);
@@ -119,6 +119,7 @@
         bool nativeEventFilter(const QByteArray &eventType, void *message,
                                QT_NATIVE_EVENT_RESULT_TYPE *result) override {
             Q_UNUSED(eventType)
+
             const auto msg = static_cast<const MSG *>(message);
             switch (msg->message) {
                 case WM_DPICHANGED: {
@@ -163,6 +164,7 @@
 
         bool eventFilter(QObject *obj, QEvent *event) override {
             Q_UNUSED(obj)
+            
             switch (event->type()) {
                 case QEvent::UpdateRequest: {
                     if (!isNormalWindow())

--
Gitblit v1.9.1