Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
231d787f
Commit
231d787f
authored
Jul 12, 2022
by
Robin Eschbach
Browse files
[FIX
#735
] remove warning
parent
df85f044
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/qtgui/WQtGLWidget.cpp
src/qtgui/WQtGLWidget.cpp
+5
-4
No files found.
src/qtgui/WQtGLWidget.cpp
View file @
231d787f
...
...
@@ -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
()
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment