- Don't create layouts with parent. Qt 4.x automatically reparents
[duncan/yast2-qt4.git] / src / pkg / YQPackageSelector.cc
index af1ebf5..8312bab 100644 (file)
@@ -216,7 +216,7 @@ YQPackageSelector::YQPackageSelector( YWidget *             parent,
 void
 YQPackageSelector::basicLayout()
 {
-    QVBoxLayout *layout = new QVBoxLayout(this);
+    QVBoxLayout *layout = new QVBoxLayout();
     setLayout(layout);
     layoutMenuBar(this);