QTfrontend/ui/widget/bgwidget.cpp
changeset 6616 f77bb02b669f
parent 6583 4218782d8ca0
child 6700 e04da46ee43c
--- a/QTfrontend/ui/widget/bgwidget.cpp	Mon Jan 30 23:20:28 2012 +0100
+++ b/QTfrontend/ui/widget/bgwidget.cpp	Mon Jan 30 17:32:18 2012 -0500
@@ -94,13 +94,17 @@
     //Simply replace Confetti.png and Egg.png with an appropriate graphic)
     switch (season)
     {
-    case SEASON_CHRISTMAS : fname = "Flake.png";
-			    break;
-    case SEASON_EASTER : fname = "Egg.png";
-			 break;
-    case SEASON_HWBDAY : fname = "Confetti.png";
-			 break;
-    default : fname = "Star.png";
+        case SEASON_CHRISTMAS :
+            fname = "Flake.png";
+            break;
+        case SEASON_EASTER :
+            fname = "Egg.png";
+            break;
+        case SEASON_HWBDAY :
+            fname = "Confetti.png";
+            break;
+        default :
+            fname = "Star.png";
     }
 
     sprite.load(":/res/" + fname);
@@ -118,7 +122,7 @@
 
         QPainter p;
         p.begin(rotatedSprites[i]);
-    //  p.setRenderHint(QPainter::Antialiasing);
+        //  p.setRenderHint(QPainter::Antialiasing);
         p.setRenderHint(QPainter::SmoothPixmapTransform);
         p.translate(translate.x(), translate.y());
         p.rotate(4 * i);