Fixes: Small optimization: reduce calls to QTransform::type().
authorBjoern Erik Nilsen <bnilsen@trolltech.com>
Fri, 27 Feb 2009 15:00:55 +0000 (16:00 +0100)
committerJason McDonald <jason.mcdonald@nokia.com>
Wed, 15 Apr 2009 10:15:02 +0000 (20:15 +1000)
commit50f92ce9b2cc8855a578423a1d309fba9b62dc5f
tree434ee82125c1da3cf0361d7d60a290310643d2a7
parente87fd9a6fd06d57f4b007ab72c60041eaf0dec0f
Fixes:    Small optimization: reduce calls to QTransform::type().

Task:     none
RevBy:    Ariya Hidayat
AutoTest: Still pass.
Details:  QTransform::type() is cached, so only the first call to it
          should be expensive. However, it is not inlined so there's
          an overhead involved (especially when these functions are
          called a gazillion times).
(cherry picked from commit eda77b7c410a59d1b77c263994679452613d9d0b)
src/gui/painting/qtransform.cpp