From f64811b77f580b3695fcfe3c2ef70573689f8b84 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 27 Nov 2019 21:25:21 +0100 Subject: [PATCH] convert setMargin --- src/lib/other/statusbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/other/statusbar.cpp b/src/lib/other/statusbar.cpp index d8e691cdc..cec7a2ff4 100644 --- a/src/lib/other/statusbar.cpp +++ b/src/lib/other/statusbar.cpp @@ -115,7 +115,7 @@ TipLabel::TipLabel(QWidget* parent) setPalette(QToolTip::palette()); ensurePolished(); setFrameStyle(QFrame::NoFrame); - setMargin(3); + setContentsMargins(3, 3, 3, 3); m_timer = new QTimer(this); m_timer->setSingleShot(true);