From 0287f19b3eabf6b6632d51c0288e6cf0be2c5e69 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周三, 06 12月 2023 18:04:31 +0800
Subject: [PATCH] update pointer usage

---
 src/core/contexts/abstractwindowcontext.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/core/contexts/abstractwindowcontext.cpp b/src/core/contexts/abstractwindowcontext.cpp
index 1c0e739..d0d6ebb 100644
--- a/src/core/contexts/abstractwindowcontext.cpp
+++ b/src/core/contexts/abstractwindowcontext.cpp
@@ -2,7 +2,7 @@
 
 namespace QWK {
 
-    AbstractWindowContext::AbstractWindowContext(QObject *host, WindowItemDelegate *delegate)
+    AbstractWindowContext::AbstractWindowContext(const QObject *host, const WindowItemDelegate *delegate)
         : m_host(host), m_delegate(delegate), m_windowHandle(delegate->hostWindow(host)) {
     }
 

--
Gitblit v1.9.1