Commit 422a3e47 authored by David Jarvie's avatar David Jarvie

Don't add layout to widget which already has one

parent f61773fb
......@@ -1575,7 +1575,7 @@ YearlyRule::YearlyRule(bool readOnly, QWidget* parent)
w->setWhatsThis(i18nc("@info:whatsthis", "Select the months of the year in which to repeat the alarm"));
// February 29th handling option
QHBoxLayout* f29box = new QHBoxLayout(this);
QHBoxLayout* f29box = new QHBoxLayout;
layout()->addLayout(f29box);
w = new QWidget(this); // this is to control the QWhatsThis text display area
f29box->addWidget(w, 0, Qt::AlignLeft);
......
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