From 5706ba3d99f6a147499d6a122959ed865e447470 Mon Sep 17 00:00:00 2001 From: SineStriker <55847490+SineStriker@users.noreply.github.com> Date: 周三, 12 2月 2025 21:23:14 +0800 Subject: [PATCH] Update --- 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