From 47375eb12aa5bfa8be6d104b980a5306a4e07025 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Mon, 21 Feb 2011 10:38:57 +0000 Subject: [PATCH] Changed how the parent of the GLArea window is initilized to workaround to a strange bug under linux. More investigation needed... --- src/meshlab/glarea.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meshlab/glarea.cpp b/src/meshlab/glarea.cpp index 74d6e6bae..1bd4943fe 100644 --- a/src/meshlab/glarea.cpp +++ b/src/meshlab/glarea.cpp @@ -36,8 +36,9 @@ using namespace std; using namespace vcg; GLArea::GLArea(MultiViewer_Container *mvcont, RichParameterSet *current) -: QGLWidget(mvcont) +: QGLWidget() { + this->setParent(mvcont); this->updateCustomSettingValues(*current); log=mvcont->LogPtr(); animMode=AnimNone;