Skip to content

Commit

Permalink
sync: from linuxdeepin/qt5platform-plugins
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/qt5platform-plugins.

Source-pull-request: linuxdeepin/qt5platform-plugins#270
  • Loading branch information
deepin-ci-robot authored and 18202781743 committed Jan 9, 2025
1 parent f55f219 commit 7c5ac48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wayland/dwayland/dnotitlebarwindowhelper_wl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ DNoTitlebarWlWindowHelper::~DNoTitlebarWlWindowHelper()
VtableHook::resetVtable(m_window);
}

mapped.remove(qobject_cast<QWindow*>(parent()));
mapped.remove(static_cast<QWindow*>(parent()));

// TODO
// if (m_window->handle()) { // 当本地窗口还存在时,移除设置过的窗口属性
Expand Down
2 changes: 1 addition & 1 deletion xcb/dnotitlebarwindowhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ DNoTitlebarWindowHelper::~DNoTitlebarWindowHelper()
VtableHook::resetVtable(m_window);
}

mapped.remove(qobject_cast<QWindow*>(parent()));
mapped.remove(static_cast<QWindow*>(parent()));

if (m_window->handle()) { // 当本地窗口还存在时,移除设置过的窗口属性
Utility::clearWindowProperty(m_windowID, Utility::internAtom(_DEEPIN_SCISSOR_WINDOW));
Expand Down

0 comments on commit 7c5ac48

Please sign in to comment.