Qt: End painter thread when destroying GL display

This commit is contained in:
Vicki Pfau 2018-10-02 13:07:26 -07:00
parent 50e699037f
commit f52859126b

View File

@ -40,6 +40,7 @@ DisplayGL::DisplayGL(const QGLFormat& format, QWidget* parent)
}
DisplayGL::~DisplayGL() {
stopDrawing();
delete m_painter;
}