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)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Mon, 6 Apr 2009 11:49:27 +0000 (13:49 +0200)
commiteda77b7c410a59d1b77c263994679452613d9d0b
treecae76d2aa42e91932578985f5239193e5e551832
parent8a2ebc96220f50be3a9c382c32d7eaab89921ff7
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).
src/gui/painting/qtransform.cpp