From 1b6700b4c71efae3cc3ac15e8227fa9915091a07 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 24 May 2011 10:08:40 +0000 Subject: [PATCH] Fixed build error --- src/osgQt/GraphicsWindowQt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgQt/GraphicsWindowQt.cpp b/src/osgQt/GraphicsWindowQt.cpp index d7343118a..1d89d4e4b 100644 --- a/src/osgQt/GraphicsWindowQt.cpp +++ b/src/osgQt/GraphicsWindowQt.cpp @@ -345,7 +345,7 @@ bool GraphicsWindowQt::init( QWidget* parent, const QGLWidget* shareWidget, Qt:: flags |= Qt::WindowTitleHint | Qt::WindowMinMaxButtonsHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint; // create widget - _widget = new GLWidget( traits2qglFormat( _traits ), parent, shareWidget, flags ); + _widget = new GLWidget( traits2qglFormat( _traits.get() ), parent, shareWidget, flags ); } // set widget name and position