diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-05-04 13:31:26 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-05-05 14:41:51 +0200 |
commit | ad000c50357c4e00fa559cc7c278af128a779a7e (patch) | |
tree | 8c4d5620cb60bd7d7ea4a3eba90779f4cd139a20 /examples/activeqt | |
parent | 4924633ba6c996d6ba0b2f99920ec3aa54159d27 (diff) | |
download | qtactiveqt-ad000c50357c4e00fa559cc7c278af128a779a7e.tar.gz |
Update dependencies
Change-Id: Ia1bf81c340a6168a9f93d5427e0f96a15c60718d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples/activeqt')
-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 |