Fixed warnings

This commit is contained in:
Robert Osfield 2009-12-14 12:49:59 +00:00
parent b7b86ba5f4
commit 98a63784b4
2 changed files with 4 additions and 4 deletions

View File

@ -57,8 +57,8 @@ struct MyQPointerEvent : public QEvent
QGraphicsViewAdapter::QGraphicsViewAdapter(osg::Image* image, QWidget* widget):
_image(image),
_backgroundColor(255,255,255),
_qtKeyModifiers(Qt::NoModifier)
_qtKeyModifiers(Qt::NoModifier),
_backgroundColor(255,255,255)
{
// make sure we have a valid QApplication before we start creating widgets.
getOrCreateQApplication();

View File

@ -58,7 +58,7 @@ class QGraphicsViewAdapter : public QObject
osg::observer_ptr<osg::Image> _image;
unsigned int _previousButtonMask;
int _previousButtonMask;
int _previousMouseX;
int _previousMouseY;
@ -71,7 +71,7 @@ class QGraphicsViewAdapter : public QObject
QPointer<QGraphicsScene> _graphicsScene;
OpenThreads::Mutex _qimagesMutex;
unsigned int _previousFrameNumber;
int _previousFrameNumber;
bool _newImageAvailable;
unsigned int _currentRead;
unsigned int _currentWrite;