Fixed unused parameter warning.
This commit is contained in:
parent
9290aaad0f
commit
656649084d
@ -81,7 +81,7 @@ public:
|
|||||||
return new osgQt::GraphicsWindowQt(traits.get());
|
return new osgQt::GraphicsWindowQt(traits.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void paintEvent( QPaintEvent* event )
|
virtual void paintEvent( QPaintEvent* /*event*/ )
|
||||||
{ frame(); }
|
{ frame(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -51,14 +51,15 @@ struct CallbackObject: public osgWidget::Callback {
|
|||||||
osgWidget::Callback(evType) {
|
osgWidget::Callback(evType) {
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual bool operator()(osgWidget::Event& ev) {
|
virtual bool operator()(osgWidget::Event& /*ev*/) {
|
||||||
std::cout << "here" << std::endl;
|
std::cout << "here" << std::endl;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int, char**)
|
||||||
|
{
|
||||||
osgViewer::Viewer viewer;
|
osgViewer::Viewer viewer;
|
||||||
|
|
||||||
// Let's get busy! The WindowManager class is actually an osg::Switch,
|
// Let's get busy! The WindowManager class is actually an osg::Switch,
|
||||||
|
Loading…
Reference in New Issue
Block a user