destroy native window on hide
This commit is contained in:
parent
839dc2c3df
commit
6b633de572
@ -1165,6 +1165,7 @@ bool Dialog::event(QEvent *event)
|
|||||||
void Dialog::hideEvent(QHideEvent *event)
|
void Dialog::hideEvent(QHideEvent *event)
|
||||||
{
|
{
|
||||||
QQuickWindow::hideEvent(event);
|
QQuickWindow::hideEvent(event);
|
||||||
|
destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Dialog::classBegin()
|
void Dialog::classBegin()
|
||||||
|
Loading…
Reference in New Issue
Block a user