Thanks Marius, fix now merged and submitted to svn/trunk. Cheers, Robert.
On 7 November 2011 21:05, Marius Kintel <[email protected]> wrote: > Hi, > > Please find attached a small fix: > > GraphicsWindowQt::WindowData no longer requires the parent widget of a > graphics window to be of type GLWidget. > > Diff against r12877: > > diff --git a/include/osgQt/GraphicsWindowQt b/include/osgQt/GraphicsWindowQt > index 9925b62..df99765 100644 > --- a/include/osgQt/GraphicsWindowQt > +++ b/include/osgQt/GraphicsWindowQt > @@ -133,9 +133,9 @@ public: > > struct WindowData : public osg::Referenced > { > - WindowData( GLWidget* widget = NULL, GLWidget* parent = NULL ): > _widget(widget), _parent(parent) {} > + WindowData( GLWidget* widget = NULL, QWidget* parent = NULL ): > _widget(widget), _parent(parent) {} > GLWidget* _widget; > - GLWidget* _parent; > + QWidget* _parent; > }; > > -Marius > > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
