Removed constant repainting of bgwidget on every frame.
authordag10
Mon, 21 Jan 2013 14:14:56 -0500
changeset 8420 98e3cc0418f9
parent 8419 d99f46b676b5
child 8421 fc39fe044a4f
Removed constant repainting of bgwidget on every frame.
QTfrontend/ui/widget/bgwidget.cpp
--- a/QTfrontend/ui/widget/bgwidget.cpp	Mon Jan 21 14:07:39 2013 -0500
+++ b/QTfrontend/ui/widget/bgwidget.cpp	Mon Jan 21 14:14:56 2013 -0500
@@ -177,7 +177,7 @@
         update(oldPos.x(), oldPos.y(), xdiff+sprite.width(), ydiff+sprite.height());
     }
 
-    repaint(); // Repaint every frame. Prevents ghosting of widgets if widgets resize in runtime.
+    //repaint(); // Repaint every frame. Prevents ghosting of widgets if widgets resize in runtime.
 }
 
 void BGWidget::startAnimation()