Normalize handling of close event for Frame and FloatingWindow too
Fixes windows not closing correctly for QtQuick
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user