Public feed #602755

Something

public text v1 · immutable
Raw Edit
·published 2007-07-04 09:04 UTC
rendered paste body
PROD bgrolleman@tools-lt clock $ svn diff clock.cpp
Index: clock.cpp
===================================================================
--- clock.cpp   (revision 683113)
+++ clock.cpp   (working copy)
@@ -201,7 +201,8 @@
         p->drawText((int)(boundRect.width() * 0.1), (int)(boundRect.height() * 0.25), m_time.toString());
         return;
     }
-    m_theme->paint(p, boundRect, "ClockFace");
+    m_theme->resize(boundSize);
+    m_theme->paint(p, boundRect.top(), boundRect.left(),  "ClockFace");

     p->save();
     p->translate(boundSize.width()/2, boundSize.height()/2);