From 245ddfa1f01b4c9fa10337246b8045755e5bcce5 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周二, 19 12月 2023 21:03:58 +0800
Subject: [PATCH] Change back to qScopeGuard

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

diff --git a/src/core/windowitemdelegate.cpp b/src/core/windowitemdelegate.cpp
index 552310d..c045a46 100644
--- a/src/core/windowitemdelegate.cpp
+++ b/src/core/windowitemdelegate.cpp
@@ -1,4 +1,4 @@
-#include "windowitemdelegate.h"
+#include "windowitemdelegate_p.h"
 
 namespace QWK {
 
@@ -6,8 +6,8 @@
 
     WindowItemDelegate::~WindowItemDelegate() = default;
 
-    bool WindowItemDelegate::resetQtGrabbedControl() const {
-        return true;
+    void WindowItemDelegate::resetQtGrabbedControl(QObject *host) const {
+        Q_UNUSED(host);
     }
 
 }
\ No newline at end of file

--
Gitblit v1.9.1