# HG changeset patch # User Wuzzy # Date 1479392956 -3600 # Node ID 245163aa3674ae716d5ac11eb8fc95477be84f5d # Parent 1d2e89be3eb660fe2a80320c60affc7ed2c6c572 Fix Qt warnings about QLayout (Fixes #127) diff -r 1d2e89be3eb6 -r 245163aa3674 QTfrontend/ui/widget/mapContainer.cpp --- 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"));