Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/svg/qsvgtinydocument.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    278278    p->save();
    279279
    280     const QRectF elementBounds = node->transformedBounds(QTransform());
     280    const QRectF elementBounds = node->transformedBounds();
    281281
    282282    mapSourceToTarget(p, bounds, elementBounds);
     
    300300    for (int i = parentApplyStack.size() - 1; i >= 0; --i)
    301301        parentApplyStack[i]->applyStyle(p, m_states);
    302    
     302
    303303    // Reset the world transform so that our parents don't affect
    304304    // the position
     
    433433    if (!node)
    434434        node = this;
    435 
    436     return node->transformedBounds(QTransform());
     435    return node->transformedBounds();
    437436}
    438437
Note: See TracChangeset for help on using the changeset viewer.