From 1d08c8b1144a62887a2b73903eef4129dc9be207 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: 周二, 04 3月 2025 18:29:06 +0800 Subject: [PATCH] Fix top border & misc tweaks (#167) --- 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