QTfrontend/pages.cpp
changeset 2098 c977d7f2aa09
parent 2093 485e084cedc4
child 2155 d897222d3339
--- a/QTfrontend/pages.cpp	Sat May 23 21:24:43 2009 +0000
+++ b/QTfrontend/pages.cpp	Sun May 24 02:41:34 2009 +0000
@@ -60,11 +60,12 @@
 #include "hats.h"
 #include "misc.h"
 #include "togglebutton.h"
+#include "hwform.h"
 
 PageMain::PageMain(QWidget* parent) : 
   AbstractPage(parent)
 {
-    setAttribute(Qt::WA_NoSystemBackground, true);
+    if(frontendEffects) setAttribute(Qt::WA_NoSystemBackground, true);
 	QGridLayout * pageLayout = new QGridLayout(this);
 	//pageLayout->setColumnStretch(0, 1);
 	//pageLayout->setColumnStretch(1, 2);
@@ -407,6 +408,10 @@
 		CBReduceQuality->setText(QCheckBox::tr("Reduce Quality"));
 		GBAlayout->addWidget(CBReduceQuality);
 
+		CBFrontendEffects = new QCheckBox(AGGroupBox);
+		CBFrontendEffects->setText(QCheckBox::tr("Frontend Effects (Requires Restart)"));
+		GBAlayout->addWidget(CBFrontendEffects);
+
 		CBFullscreen = new QCheckBox(AGGroupBox);
 		CBFullscreen->setText(QCheckBox::tr("Fullscreen"));
 		GBAlayout->addWidget(CBFullscreen);