summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/opengl/globjwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/activeqt/opengl/globjwin.cpp')
-rw-r--r--examples/activeqt/opengl/globjwin.cpp2
1 files changed, 1 insertions, 1 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);