Set directly parent to layout

wilder
Montel Laurent 10 years ago
parent d4f5a3a8cf
commit 34f8fd6225
  1. 3
      src/tag/tagwidget.cpp

@ -73,8 +73,7 @@ TagWidget::TagWidget(const QList<KActionCollection *> &actionCollections, QWidge
: QWidget(parent),
d(new MailCommon::TagWidgetPrivate)
{
QGridLayout *settings = new QGridLayout;
setLayout(settings);
QGridLayout *settings = new QGridLayout(this);
//Stretcher layout for adding some space after the label
QVBoxLayout *spacer = new QVBoxLayout();

Loading…
Cancel
Save