Workaround for what looks like a Qt crash when closing the app with a floating preview.
This commit is contained in:
@@ -950,6 +950,9 @@ void lcMainWindow::closeEvent(QCloseEvent* Event)
|
||||
Settings.endGroup();
|
||||
|
||||
gApplication->SaveTabLayout();
|
||||
|
||||
delete mPreviewWidget;
|
||||
mPreviewWidget = nullptr;
|
||||
}
|
||||
else
|
||||
Event->ignore();
|
||||
|
||||
Reference in New Issue
Block a user