Fixed warnings
This commit is contained in:
parent
b7b86ba5f4
commit
98a63784b4
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user