From 3e942c3dc8955be577079fbc028ce216e1c594b2 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周二, 11 2月 2025 19:07:53 +0800
Subject: [PATCH] Fix numerous bugs (#162)

---
 src/core/qwindowkit_windows.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/core/qwindowkit_windows.h b/src/core/qwindowkit_windows.h
index d6c0afe..7e9b8a7 100644
--- a/src/core/qwindowkit_windows.h
+++ b/src/core/qwindowkit_windows.h
@@ -145,7 +145,7 @@
 
         void close();
         QString stringValue(QStringView subKey) const;
-        QPair<DWORD, bool> dwordValue(QStringView subKey) const;
+        std::pair<DWORD, bool> dwordValue(QStringView subKey) const;
 
     private:
         HKEY m_key;
@@ -166,10 +166,10 @@
             : QWinRegistryKey(parentHandle, subKey, permissions, access) {
         }
 
-        inline QPair<DWORD, bool> dwordValue(QStringView subKey) const;
+        inline std::pair<DWORD, bool> dwordValue(QStringView subKey) const;
     };
 
-    inline QPair<DWORD, bool> WindowsRegistryKey::dwordValue(QStringView subKey) const {
+    inline std::pair<DWORD, bool> WindowsRegistryKey::dwordValue(QStringView subKey) const {
         const auto val = value<DWORD>(subKey);
         if (!val) {
             return {0, false};

--
Gitblit v1.9.1