From 57d9753f70e1d9799a5241961b0183ff17a55719 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 29 Mar 2024 05:26:36 +0200 Subject: [PATCH] kdialog: do not set contents margins for the calendar widget from Widgets::calendar() otherwise it looks a bit weird Signed-off-by: Ivailo Monev --- kdialog/widgets.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/kdialog/widgets.cpp b/kdialog/widgets.cpp index 1b4b3a62..d0a12e78 100644 --- a/kdialog/widgets.cpp +++ b/kdialog/widgets.cpp @@ -357,7 +357,6 @@ bool Widgets::calendar( QWidget *parent, const QString &title, const QString &te QLabel label (vbox); label.setText (text); KCalendarWidget dateWidget( vbox ); - dateWidget.setContentsMargins(2, 2, 2, 2); dateWidget.setFocus(); handleXGeometry(&dlg);