QTfrontend/pages.cpp
changeset 2294 2e6ffb3ef304
parent 2261 57e99c908e7c
child 2368 e0750b23c9e6
--- a/QTfrontend/pages.cpp	Sat Aug 01 14:03:25 2009 +0000
+++ b/QTfrontend/pages.cpp	Sun Aug 02 17:37:45 2009 +0000
@@ -195,7 +195,7 @@
 		}
 		hbox->addWidget(CBVoicepack, 100);
 		BtnTestSound = addButton(":/res/PlaySound.png", hbox, 1, true);
-		BtnTestSound->setEnabled(openal_ready());
+		//BtnTestSound->setEnabled(openal_ready());
 		hbox->setStretchFactor(BtnTestSound, 1);
 		connect(BtnTestSound, SIGNAL(clicked()), this, SLOT(testSound()));
 		GBTLayout->addLayout(hbox);
@@ -427,12 +427,12 @@
 
 		CBEnableSound = new QCheckBox(AGGroupBox);
 		CBEnableSound->setText(QCheckBox::tr("Enable sound"));
-		CBEnableSound->setEnabled(openal_ready());
+		//CBEnableSound->setEnabled(openal_ready());
 		GBAlayout->addWidget(CBEnableSound);
 
 		CBEnableMusic = new QCheckBox(AGGroupBox);
 		CBEnableMusic->setText(QCheckBox::tr("Enable music"));
-		CBEnableMusic->setEnabled(openal_ready());
+		//CBEnableMusic->setEnabled(openal_ready());
 		GBAlayout->addWidget(CBEnableMusic);
 
 		QHBoxLayout * GBAvollayout = new QHBoxLayout(0);