Commit 9de4f389 authored by Laurent Montel's avatar Laurent Montel 😁

Fix layout warning

parent f81b4cb1
......@@ -79,7 +79,7 @@ VacationEditWidget::VacationEditWidget(QWidget *parent)
glay->addWidget(mSubject, row, 1);
++row;
QHBoxLayout *timeLayout = new QHBoxLayout(this);
QHBoxLayout *timeLayout = new QHBoxLayout;
// Start date
mStartDate = new KDateComboBox(this);
mStartDate->setObjectName(QStringLiteral("mStartDate"));
......@@ -105,7 +105,7 @@ VacationEditWidget::VacationEditWidget(QWidget *parent)
++row;
// End date
timeLayout = new QHBoxLayout(this);
timeLayout = new QHBoxLayout;
mEndDate = new KDateComboBox(this);
mEndDate->setObjectName(QStringLiteral("mEndDate"));
......@@ -172,7 +172,7 @@ VacationEditWidget::VacationEditWidget(QWidget *parent)
mMailActionRecipient->setClearButtonEnabled(true);
mMailActionRecipient->setEnabled(false);
QHBoxLayout *hLayout = new QHBoxLayout(this);
QHBoxLayout *hLayout = new QHBoxLayout;
hLayout->addWidget(mMailAction);
hLayout->addWidget(mMailActionRecipient);
......
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