Commit 231d787f authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #735] remove warning

parent df85f044
......@@ -51,15 +51,16 @@
#include "events/WEventTypes.h"
#include "events/WRenderedFrameEvent.h"
WQtGLWidget::WQtGLWidget( std::string nameOfViewer, QWidget* parent, WGECamera::ProjectionMode projectionMode, const QWidget* shareWidget ):
#ifdef OW_QT_GLWIDGET
WQtGLWidget::WQtGLWidget( std::string nameOfViewer, QWidget* parent, WGECamera::ProjectionMode projectionMode, const QWidget* /* shareWidget */ ):
QOpenGLWidget( parent ),
#else
WQtGLWidget::WQtGLWidget( std::string nameOfViewer, QWidget* parent, WGECamera::ProjectionMode projectionMode, const QWidget* shareWidget ):
QGLWidget( getDefaultFormat(), parent, dynamic_cast< const QGLWidget* >( shareWidget ) ),
#endif
m_nameOfViewer( nameOfViewer ),
m_firstPaint( true ),
m_firstFrame( true )
m_nameOfViewer( nameOfViewer ),
m_firstPaint( true ),
m_firstFrame( true )
{
#ifdef OW_QT_GLWIDGET
setFormat( getDefaultFormat() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment