Changed how the parent of the GLArea window is initilized to workaround to a strange bug under linux. More investigation needed...

This commit is contained in:
Paolo Cignoni cignoni 2011-02-21 10:38:57 +00:00
parent 7e35dbac71
commit 47375eb12a

View File

@ -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;