summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtabbar/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/qtabbar/main.cpp')
-rw-r--r--tests/manual/qtabbar/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/qtabbar/main.cpp b/tests/manual/qtabbar/main.cpp
index 6af80958cd..f916141497 100644
--- a/tests/manual/qtabbar/main.cpp
+++ b/tests/manual/qtabbar/main.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
@@ -231,7 +231,7 @@ int main(int argc, char *argv[])
QApplication::sendEvent(&tabBar, new QEvent(QEvent::StyleChange));
});
- layout->setMargin(12);
+ layout->setContentsMargins(12, 12, 12, 12);
widget.show();
return app.exec();