internalwindow: don't crash on pointer leave when m_handle is nullptr
BUG: 472922
This commit is contained in:
parent
befb50ebec
commit
be6be22bae
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ void InternalWindow::pointerEnterEvent(const QPointF &globalPos)
|
||||||
|
|
||||||
void InternalWindow::pointerLeaveEvent()
|
void InternalWindow::pointerLeaveEvent()
|
||||||
{
|
{
|
||||||
|
if (!m_handle) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Window::pointerLeaveEvent();
|
Window::pointerLeaveEvent();
|
||||||
|
|
||||||
QEvent event(QEvent::Leave);
|
QEvent event(QEvent::Leave);
|
||||||
|
|
Loading…
Reference in a new issue