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
1b5ae61a
Commit
1b5ae61a
authored
Mar 17, 2013
by
Sebastian Eichelbaum
Browse files
[FIX] crash fixed when starting with nav views enabled
parent
bfd60588
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/qt4gui/WQtGLDockWidget.cpp
src/qt4gui/WQtGLDockWidget.cpp
+1
-1
No files found.
src/qt4gui/WQtGLDockWidget.cpp
View file @
1b5ae61a
...
@@ -53,7 +53,7 @@ WQtGLDockWidget::WQtGLDockWidget( QString viewTitle, QString dockTitle, QWidget*
...
@@ -53,7 +53,7 @@ WQtGLDockWidget::WQtGLDockWidget( QString viewTitle, QString dockTitle, QWidget*
// the panel contains all other widgets, including the gl widget
// the panel contains all other widgets, including the gl widget
// This allows adding other widgets to certain docks
// This allows adding other widgets to certain docks
m_panel
=
new
QWidget
(
this
);
m_panel
=
new
QWidget
(
this
);
m_layout
=
new
QVBoxLayout
();
m_layout
=
new
QVBoxLayout
(
m_panel
);
m_layout
->
setContentsMargins
(
1
,
1
,
1
,
1
);
m_layout
->
setContentsMargins
(
1
,
1
,
1
,
1
);
m_glWidget
=
boost
::
shared_ptr
<
WQtGLWidget
>
(
new
WQtGLWidget
(
viewTitle
.
toStdString
(),
m_panel
,
projectionMode
,
shareWidget
)
);
m_glWidget
=
boost
::
shared_ptr
<
WQtGLWidget
>
(
new
WQtGLWidget
(
viewTitle
.
toStdString
(),
m_panel
,
projectionMode
,
shareWidget
)
);
...
...
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