Fix runtime warning
authorunc0rr
Sun, 11 Feb 2007 22:10:35 +0000
changeset 436 3f806cadb4e3
parent 435 25820c10c849
child 437 933ed65b55d1
Fix runtime warning
QTfrontend/pages.cpp
--- a/QTfrontend/pages.cpp	Sun Feb 11 19:57:29 2007 +0000
+++ b/QTfrontend/pages.cpp	Sun Feb 11 22:10:35 2007 +0000
@@ -359,7 +359,7 @@
 	pageLayout->addWidget(AGGroupBox, 1, 1);
 
 	QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox);
-	QHBoxLayout * GBAreslayout = new QHBoxLayout(AGGroupBox);
+	QHBoxLayout * GBAreslayout = new QHBoxLayout(0);
 	QLabel * resolution = new QLabel(AGGroupBox);
 	resolution->setText(QLabel::tr("Resolution"));
 	GBAreslayout->addWidget(resolution);
@@ -372,7 +372,7 @@
 	GBAreslayout->addWidget(CBResolution);
 	GBAlayout->addLayout(GBAreslayout);
 
-	QHBoxLayout * GBAfpslayout = new QHBoxLayout(AGGroupBox);
+	QHBoxLayout * GBAfpslayout = new QHBoxLayout(0);
 	QLabel * maxfps = new QLabel(AGGroupBox);
 	maxfps->setText(QLabel::tr("FPS limit"));
 	GBAfpslayout->addWidget(maxfps);