diff options
author | Jarno Malmari <ext-jarno.malmari@nokia.com> | 2010-12-01 15:41:23 +0200 |
---|---|---|
committer | Pekka Vuorela <pekka.ta.vuorela@nokia.com> | 2010-12-08 18:10:12 +0200 |
commit | 9f6a800e5fa45d58a505dcf34d4f2fa684e1f778 (patch) | |
tree | e7517835582b7344932c1ef9859588fbc8e71aa6 /tests | |
parent | 27570779a428f25c2d310e3fba245863a169d928 (diff) |
Fixes: NB#207822, SceneWindow is relocated too much.
RevBy: Michael Hasselmann, Hannu Koivisto
Details: Give MSceneWindowScroller the currently planned position when querying new one.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ut_mscrollchain/ut_mscrollchain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ut_mscrollchain/ut_mscrollchain.cpp b/tests/ut_mscrollchain/ut_mscrollchain.cpp index 2c50cbcf..193f9dc0 100644 --- a/tests/ut_mscrollchain/ut_mscrollchain.cpp +++ b/tests/ut_mscrollchain/ut_mscrollchain.cpp @@ -78,7 +78,8 @@ public: virtual QPoint queryScrollingAmount(const QGraphicsWidget *widget, const QRect &targetRect, - const QPoint &originPoint) + const QPoint &originPoint, + const QPoint &) { const QRect boundaries(widget->boundingRect().toRect()); |