QTfrontend/pages.cpp
changeset 2072 6e0fcbcc3f60
parent 2071 0faa147c47df
child 2076 aa3263e57b8f
--- a/QTfrontend/pages.cpp	Sun May 17 13:04:58 2009 +0000
+++ b/QTfrontend/pages.cpp	Sun May 17 14:25:45 2009 +0000
@@ -208,6 +208,8 @@
 	FortPreview = new SquareLabel(GBoxFort);
 	FortPreview->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
 	FortPreview->setPixmap(QPixmap());
+    // perhaps due to handling its own paintevents, SquareLabel doesn't play nice with the stars
+    //FortPreview->setAttribute(Qt::WA_PaintOnScreen, true);
 	GBFLayout->addWidget(FortPreview, 1, 0);
 	vbox3->addWidget(GBoxFort);
 
@@ -331,6 +333,7 @@
 	gbTBLayout->setSpacing(0);
 	{
 		teamsBox = new IconedGroupBox(this);
+        //teamsBox->setAttribute(Qt::WA_PaintOnScreen, true);
 		teamsBox->setIcon(QIcon(":/res/teamicon.png"));
 		teamsBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
 		teamsBox->setTitle(QGroupBox::tr("Teams"));