From 293bc9cf2915b9ba0897b258ba7bfc5da93f2640 Mon Sep 17 00:00:00 2001
From: Jacob Muchow <jacobamuchow@gmail.com>
Date: 摹曛, 16 5月 2024 23:57:03 +0800
Subject: [PATCH] Fixes find_dependency() syntax in QWindowKitConfig.cmake

---
 src/core/shared/qwkwindowsextra_p.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/core/shared/qwkwindowsextra_p.h b/src/core/shared/qwkwindowsextra_p.h
index 1c66ea2..021b34e 100644
--- a/src/core/shared/qwkwindowsextra_p.h
+++ b/src/core/shared/qwkwindowsextra_p.h
@@ -434,7 +434,7 @@
     static inline quint32 getSystemMetricsForDpi(int index, quint32 dpi) {
         const DynamicApis &apis = DynamicApis::instance();
         if (apis.pGetSystemMetricsForDpi) {
-            return ::GetSystemMetricsForDpi(index, dpi);
+            return apis.pGetSystemMetricsForDpi(index, dpi);
         }
         return ::GetSystemMetrics(index);
     }

--
Gitblit v1.9.1