Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 41bf720e authored by Laurent Montel's avatar Laurent Montel 😁

USe parent directly

parent 58c20b26
......@@ -31,7 +31,7 @@ using namespace SendLater;
SendLaterTimeDateWidget::SendLaterTimeDateWidget(QWidget *parent)
: QWidget(parent)
{
QHBoxLayout *lay = new QHBoxLayout;
QHBoxLayout *lay = new QHBoxLayout(this);
lay->setMargin(0);
QDateTime t = QDateTime::currentDateTime();
......@@ -49,8 +49,6 @@ SendLaterTimeDateWidget::SendLaterTimeDateWidget(QWidget *parent)
lay->addWidget(mDateComboBox);
lay->addWidget(mTimeComboBox);
setLayout(lay);
}
SendLaterTimeDateWidget::~SendLaterTimeDateWidget()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment