destroy native window on hide

This commit is contained in:
Marco Martin 2015-06-11 21:29:10 -07:00
parent 839dc2c3df
commit 6b633de572

View File

@ -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()