diff --git a/src/gui/UBTBPageEditWidget.cpp b/src/gui/UBTBPageEditWidget.cpp
index 22c017a974510857828f60c8c65b36a99bd7f649..d1ba3c31a1a694be48daaa277d7e50bf509fd7c1 100644
--- a/src/gui/UBTBPageEditWidget.cpp
+++ b/src/gui/UBTBPageEditWidget.cpp
@@ -245,7 +245,7 @@ UBUrlWidget::UBUrlWidget(QWidget *parent, const char *name):QWidget(parent)
     mpLayout = new QVBoxLayout(this);
     setLayout(mpLayout);
 
-    mpLabelLayout = new QHBoxLayout(this);
+    mpLabelLayout = new QHBoxLayout(0);
     mpUrlLabel = new QLabel(tr("Url"), this);
     mpLabelLayout->addWidget(mpUrlLabel, 0);
     mpUrl = new QLineEdit(this);
@@ -253,7 +253,7 @@ UBUrlWidget::UBUrlWidget(QWidget *parent, const char *name):QWidget(parent)
     mpUrl->setMinimumHeight(20);
     mpLabelLayout->addWidget(mpUrl, 1);
 
-    mpTitleLayout = new QHBoxLayout(this);
+    mpTitleLayout = new QHBoxLayout(0);
     mpTitleLabel = new QLabel(tr("Title"),this);
     mpTitleLayout->addWidget(mpTitleLabel,0);
     mpTitle = new QLineEdit(this);