[APP] - Fix leaking QGraphicsScene in QuarterWidget

This commit is contained in:
vosk
2021-02-19 16:44:16 +01:00
committed by wmayer
parent 354ac48d41
commit 17ec9b7c08
+1 -1
View File
@@ -289,7 +289,7 @@ QuarterWidget::QuarterWidget(QtGLContext * context, QWidget * parent, const QtGL
void
QuarterWidget::constructor(const QtGLFormat & format, const QtGLWidget * sharewidget)
{
QGraphicsScene* scene = new QGraphicsScene;
QGraphicsScene* scene = new QGraphicsScene(this);
setScene(scene);
setViewport(new CustomGLWidget(format, this, sharewidget));