QTfrontend/pages.cpp
changeset 1157 c2e02c52dcad
parent 1153 825931b81ad4
child 1162 91bf5e3e558d
--- a/QTfrontend/pages.cpp	Wed Aug 06 12:47:42 2008 +0000
+++ b/QTfrontend/pages.cpp	Wed Aug 06 12:48:45 2008 +0000
@@ -284,6 +284,7 @@
 	BtnEditTeam = addButton(tr("Edit team"), GBTlayout, 0, 2);
 
 	AGGroupBox = new QGroupBox(this);
+	AGGroupBox->setCheckable(true);
 	AGGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
 	AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options"));
 	pageLayout->addWidget(AGGroupBox, 2, 1);
@@ -310,11 +311,11 @@
 	CBFullscreen->setText(QCheckBox::tr("Fullscreen"));
 	GBAlayout->addWidget(CBFullscreen);
 
-	CBEnableSound = new	QCheckBox(AGGroupBox);
+	CBEnableSound = new QCheckBox(AGGroupBox);
 	CBEnableSound->setText(QCheckBox::tr("Enable sound"));
 	GBAlayout->addWidget(CBEnableSound);
 
-	CBEnableMusic = new	QCheckBox(AGGroupBox);
+	CBEnableMusic = new QCheckBox(AGGroupBox);
 	CBEnableMusic->setText(QCheckBox::tr("Enable music"));
 	GBAlayout->addWidget(CBEnableMusic);
 
@@ -329,7 +330,7 @@
 	fpsedit = new FPSEdit(AGGroupBox);
 	GBAfpslayout->addWidget(fpsedit);
 
-	BtnSaveOptions = addButton(tr("Save"), pageLayout, 4, 2);
+	BtnSaveOptions = addButton(":/res/Save.png", pageLayout, 4, 2, true);
 
 	BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true);