Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1233

QGraphicsSceneBspTree::initialize() uses incorrect offset

    XMLWordPrintable

Details

    Description

      When looking at the code for QGraphicsSceneBspTree::initialize() it would seem that this line should be used

      node->offset = rect.center().y(); // while index = 0.

      instead of the offset line in the code below

      in void QGraphicsSceneBspTree::initialize(const QRectF &rect, int depth, int index),
      if (index == 0)

      { node->type = Node::Horizontal; node->offset = rect.center().x(); }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes