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

QGraphicsSceneBspTree::initialize() uses incorrect offset

XMLWordPrintable

      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(); }

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes