fixes #11533: TypeError in: FreeCADGui.getMainWindow().windowStateChanged

This commit is contained in:
wmayer
2023-11-27 15:27:18 +01:00
committed by Chris Hennes
parent fac94ba932
commit 9fb08b887d
6 changed files with 9 additions and 8 deletions

View File

@@ -226,12 +226,14 @@ void MDIView::closeEvent(QCloseEvent *e)
// because otherwise other parts don't work as they should.
QMainWindow::closeEvent(e);
}
else
else {
e->ignore();
}
}
void MDIView::windowStateChanged( MDIView* )
void MDIView::windowStateChanged(QWidget* view)
{
Q_UNUSED(view)
}
void MDIView::print(QPrinter* printer)