Normalize handling of close event for Frame and FloatingWindow too

Fixes windows not closing correctly for QtQuick
This commit is contained in:
Sergio Martins
2022-06-05 12:44:33 +01:00
parent f11a6a6a8c
commit 792aaf76da
9 changed files with 9 additions and 17 deletions

View File

@@ -161,12 +161,6 @@ bool Frame_qtwidgets::event(QEvent *e)
return QWidget::event(e);
}
void Frame_qtwidgets::closeEvent(QCloseEvent *e)
{
if (!freed())
m_controller->onCloseEvent(e);
}
void Frame_qtwidgets::paintEvent(QPaintEvent *)
{
if (freed())