Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method

This commit is contained in:
Robert Osfield 2011-05-16 09:16:22 +00:00
parent b3a1b30ab3
commit b4b0e4f069

View File

@ -494,7 +494,7 @@ public:
QGridLayout* grid = new QGridLayout; QGridLayout* grid = new QGridLayout;
grid->setMargin(0); grid->setMargin(0);
grid->addWidget(graphicsWindow->getGraphWidget(), 0, 0); grid->addWidget(graphicsWindow->getGLWidget(), 0, 0);
setLayout(grid); setLayout(grid);
_viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded); _viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded);