- innerRect.setLeft(r.center().x() + ((r.left() - r.center().x()) / 3) * 1)
- innerRect.setRight(r.center().x() + ((r.right() - r.center().x()) / 3) * 1)
- innerRect.setTop(r.center().y() + ((r.top() - r.center().y()) / 3) * 1)
- innerRect.setBottom(r.center().y() + ((r.bottom() - r.center().y()) / 3) * 1)
+ innerCenter = r.center()
+ innerRect.setLeft(innerCenter.x() + ((r.left() - innerCenter.x()) / 3) * 1)
+ innerRect.setRight(innerCenter.x() + ((r.right() - innerCenter.x()) / 3) * 1)
+ innerRect.setTop(innerCenter.y() + ((r.top() - innerCenter.y()) / 3) * 1)
+ innerRect.setBottom(innerCenter.y() + ((r.bottom() - innerCenter.y()) / 3) * 1)