From 7c5ac48b9529409e440ed5bdbe07abdaf52c2f87 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Thu, 9 Jan 2025 02:02:15 +0000 Subject: [PATCH] sync: from linuxdeepin/qt5platform-plugins Synchronize source files from linuxdeepin/qt5platform-plugins. Source-pull-request: https://github.com/linuxdeepin/qt5platform-plugins/pull/270 --- wayland/dwayland/dnotitlebarwindowhelper_wl.cpp | 2 +- xcb/dnotitlebarwindowhelper.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wayland/dwayland/dnotitlebarwindowhelper_wl.cpp b/wayland/dwayland/dnotitlebarwindowhelper_wl.cpp index 8ac68ac..5f85b16 100644 --- a/wayland/dwayland/dnotitlebarwindowhelper_wl.cpp +++ b/wayland/dwayland/dnotitlebarwindowhelper_wl.cpp @@ -50,7 +50,7 @@ DNoTitlebarWlWindowHelper::~DNoTitlebarWlWindowHelper() VtableHook::resetVtable(m_window); } - mapped.remove(qobject_cast(parent())); + mapped.remove(static_cast(parent())); // TODO // if (m_window->handle()) { // 当本地窗口还存在时,移除设置过的窗口属性 diff --git a/xcb/dnotitlebarwindowhelper.cpp b/xcb/dnotitlebarwindowhelper.cpp index e737769..fee7648 100644 --- a/xcb/dnotitlebarwindowhelper.cpp +++ b/xcb/dnotitlebarwindowhelper.cpp @@ -85,7 +85,7 @@ DNoTitlebarWindowHelper::~DNoTitlebarWindowHelper() VtableHook::resetVtable(m_window); } - mapped.remove(qobject_cast(parent())); + mapped.remove(static_cast(parent())); if (m_window->handle()) { // 当本地窗口还存在时,移除设置过的窗口属性 Utility::clearWindowProperty(m_windowID, Utility::internAtom(_DEEPIN_SCISSOR_WINDOW));