kdialog: do not set contents margins for the calendar widget from Widgets::calendar()

otherwise it looks a bit weird

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-03-29 05:26:36 +02:00
parent 30d5561f98
commit 57d9753f70

View file

@ -357,7 +357,6 @@ bool Widgets::calendar( QWidget *parent, const QString &title, const QString &te
QLabel label (vbox); QLabel label (vbox);
label.setText (text); label.setText (text);
KCalendarWidget dateWidget( vbox ); KCalendarWidget dateWidget( vbox );
dateWidget.setContentsMargins(2, 2, 2, 2);
dateWidget.setFocus(); dateWidget.setFocus();
handleXGeometry(&dlg); handleXGeometry(&dlg);