aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/targetsettingspanel.cpp
diff options
context:
space:
mode:
authorLaurent Montel <laurent.montel@kdab.com>2019-10-01 10:55:29 +0200
committerLaurent Montel <laurent.montel@kdab.com>2019-10-16 05:02:57 +0000
commitf467badc2f347522918d99da47dec00720a03bb3 (patch)
treef6ea26f9368c6628b41debc21c0de754b4c43712 /src/plugins/projectexplorer/targetsettingspanel.cpp
parentd5320bb407f61abca975849700bd32b2e7e75086 (diff)
Port setMargins to setContentsMargins
Change-Id: Ie6b3f3e4dddbbf4bcc7ea7561ec348ff2c666907 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/targetsettingspanel.cpp')
-rw-r--r--src/plugins/projectexplorer/targetsettingspanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/targetsettingspanel.cpp b/src/plugins/projectexplorer/targetsettingspanel.cpp
index aae0e67b37c..3bb35bfe75d 100644
--- a/src/plugins/projectexplorer/targetsettingspanel.cpp
+++ b/src/plugins/projectexplorer/targetsettingspanel.cpp
@@ -217,7 +217,7 @@ void TargetGroupItemPrivate::ensureWidget()
f.setPointSizeF(f.pointSizeF() * 1.4);
f.setBold(true);
label->setFont(f);
- label->setMargin(10);
+ label->setContentsMargins(10, 10, 10, 10);
label->setAlignment(Qt::AlignTop);
auto layout = new QVBoxLayout(m_noKitLabel);