From 86403b4e99f901f687050ce9a91a8e539331cebb Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: ćšć, 07 12æ 2023 17:39:55 +0800 Subject: [PATCH] remove not needed result --- src/core/contexts/win32windowcontext.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/contexts/win32windowcontext.cpp b/src/core/contexts/win32windowcontext.cpp index 1201277..b89496c 100644 --- a/src/core/contexts/win32windowcontext.cpp +++ b/src/core/contexts/win32windowcontext.cpp @@ -869,7 +869,7 @@ const WindowPart currentWindowPart = lastHitTestResult; if (message == WM_NCMOUSEMOVE) { if (currentWindowPart != WindowPart::ChromeButton) { - std::ignore = m_delegate->resetQtGrabbedControl(); + m_delegate->resetQtGrabbedControl(); if (mouseLeaveBlocked) { emulateClientAreaMessage(hWnd, message, wParam, lParam, WM_NCMOUSELEAVE); @@ -931,7 +931,7 @@ // window from client area, which means we will get previous window part as // HTCLIENT if the mouse leaves window from client area and enters window // from non-client area, but it has no bad effect. - std::ignore = m_delegate->resetQtGrabbedControl(); + m_delegate->resetQtGrabbedControl(); } } break; -- Gitblit v1.9.1