Commit 3a5c8c5b authored by Laurent Montel's avatar Laurent Montel 😁

Fix layout

parent 3fe43a39
......@@ -26,10 +26,9 @@
LogWidget::LogWidget(QWidget *parent)
: QWidget(parent)
{
QHBoxLayout *layout = new QHBoxLayout;
mCustomLogWidget = new KPIM::CustomLogWidget;
QHBoxLayout *layout = new QHBoxLayout(this);
mCustomLogWidget = new KPIM::CustomLogWidget(this);
layout->addWidget(mCustomLogWidget);
setLayout(layout);
}
LogWidget::~LogWidget()
......
......@@ -27,9 +27,8 @@
PimSettingExporterConfigureWidget::PimSettingExporterConfigureWidget(QWidget *parent)
: QWidget(parent)
{
QVBoxLayout *layout = new QVBoxLayout;
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setMargin(0);
setLayout(layout);
QGroupBox *groupBox = new QGroupBox(i18n("Import"));
groupBox->setObjectName(QStringLiteral("import_groupbox"));
......
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