setAttribute(Qt::WA_OpaquePaintEvent);
#endif
- QBoxLayout *mainLayout = new QVBoxLayout();
+ QBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setMargin(PADDING);
mainLayout->setSpacing(0);
mainLayout->addWidget(message);
mainLayout->addStretch();
- mainLayout->addSpacing(PADDING);
QBoxLayout *hLayout = new QHBoxLayout();
hLayout->setAlignment(Qt::AlignCenter);
layout->addLayout(otherLayout);
- mainLayout->addSpacing(PADDING);
mainLayout->addStretch();
#ifdef APP_ACTIVATION
if (!Activation::instance().isActivated())
mainLayout->addWidget(Extra::buyButton(tr("Get the full version")), 0, Qt::AlignRight);
#endif
-
- setLayout(mainLayout);
-
}
void SearchView::appear() {