From d5cc7b515e8897c94815ebb2d8fe6da675846149 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <zhaoyuhang@rankyee.com> Date: 周三, 06 12月 2023 17:00:21 +0800 Subject: [PATCH] format --- src/core/contexts/qtwindowcontext.cpp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/contexts/qtwindowcontext.cpp b/src/core/contexts/qtwindowcontext.cpp index b0e8e33..732ecf1 100644 --- a/src/core/contexts/qtwindowcontext.cpp +++ b/src/core/contexts/qtwindowcontext.cpp @@ -40,14 +40,17 @@ #endif } - QtWindowContext::QtWindowContext(QWindow *window, WindowItemDelegatePtr delegate) - : AbstractWindowContext(window, delegate) { + QtWindowContext::QtWindowContext(QObject *host, WindowItemDelegate *delegate) + : AbstractWindowContext(host, delegate) { } QtWindowContext::~QtWindowContext() { } bool QtWindowContext::setup() { + if (!m_windowHandle) { + return false; + } return false; } -- Gitblit v1.9.1