From: Chris Cannam <cannam@al...> - 2009-06-18 16:47:52
On Thu, Jun 18, 2009 at 5:40 PM, Yves Guillemot <yc.guillemot@...> wrote:
> Le mercredi 17 juin 2009 20:32:09, Emanuel Rumpf a écrit :
> > Maybe the view is updated one time-moment too late.
> > When scrolling, it looks like the view would update BEFORE the scroll
> > event.
> You were totally right : the scroll of the rulers was trigged by
> QGraphicsView::scrollContentsBy() which is called before the view is scrolled.
> The use of QGraphicsView::DrawForefround() in place of scrollContentsBy()
> solves the problem.
Yay! I've just tested the fix as committed, and it works very nicely for me.
Get latest updates about Open Source Projects, Conferences and News.