summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/testcon/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testcon/mainwindow.cpp b/tools/testcon/mainwindow.cpp
index 8e483b3..df69981 100644
--- a/tools/testcon/mainwindow.cpp
+++ b/tools/testcon/mainwindow.cpp
@@ -87,7 +87,7 @@ MainWindow::MainWindow(QWidget *parent)
QHBoxLayout *layout = new QHBoxLayout(Workbase);
m_mdiArea = new QMdiArea(Workbase);
layout->addWidget(m_mdiArea);
- layout->setMargin(0);
+ layout->setContentsMargins(0, 0, 0, 0);
connect(m_mdiArea, &QMdiArea::subWindowActivated, this, &MainWindow::updateGUI);
connect(actionFileExit, &QAction::triggered, QCoreApplication::quit);