diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/activeqt/opengl/globjwin.cpp | 2 | ||||
-rw-r--r-- | examples/activeqt/opengl/opengl.pro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/activeqt/opengl/globjwin.cpp b/examples/activeqt/opengl/globjwin.cpp index dbb7e82..0324f06 100644 --- a/examples/activeqt/opengl/globjwin.cpp +++ b/examples/activeqt/opengl/globjwin.cpp @@ -110,7 +110,7 @@ GLObjectWindow::GLObjectWindow(QWidget *parent) // Put the GL widget inside the frame QHBoxLayout *flayout = new QHBoxLayout(f); - flayout->setMargin(0); + flayout->setContentsMargins(0, 0, 0, 0); flayout->addWidget(c, 1); hlayout->setMenuBar(m); diff --git a/examples/activeqt/opengl/opengl.pro b/examples/activeqt/opengl/opengl.pro index c62f700..1ece9b9 100644 --- a/examples/activeqt/opengl/opengl.pro +++ b/examples/activeqt/opengl/opengl.pro @@ -2,7 +2,7 @@ TEMPLATE = app TARGET = openglax CONFIG += warn_off -QT += widgets axserver +QT += widgets axserver opengl openglwidgets HEADERS = glbox.h \ globjwin.h |