QTfrontend/ui/widget/mapContainer.cpp
changeset 11910 245163aa3674
parent 11864 bff919afc63f
child 12897 fc47fc4af6bd
--- a/QTfrontend/ui/widget/mapContainer.cpp	Thu Nov 17 14:59:20 2016 +0100
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Thu Nov 17 15:29:16 2016 +0100
@@ -253,7 +253,7 @@
     bottomLeftLayout->addStretch(1);
 
     /* Theme chooser */
-    QHBoxLayout * themeHBox = new QHBoxLayout(this);
+    QHBoxLayout * themeHBox = new QHBoxLayout();
 
     btnRandTheme = new QPushButton();
     btnRandTheme->setWhatsThis(tr("Randomize the theme"));