Port setMargins to setContentsMargins

Change-Id: Ie6b3f3e4dddbbf4bcc7ea7561ec348ff2c666907
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Laurent Montel
2019-10-01 10:55:29 +02:00
parent d5320bb407
commit f467badc2f
7 changed files with 8 additions and 8 deletions

View File

@@ -832,7 +832,7 @@ DebuggerPluginPrivate::DebuggerPluginPrivate(const QStringList &arguments)
QTC_ASSERT(vbox, return);
auto label = new QLabel(widget);
label->setText(text);
label->setMargin(6);
label->setContentsMargins(6, 6, 6, 6);
vbox->insertWidget(0, label);
};