[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: koffice/plugins/pathshapes/enhancedpath
From:       Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date:       2010-09-23 23:08:20
Message-ID: 201009240108.21309.m.kruisselbrink () student ! tue ! nl
[Download RAW message or body]

On Thursday 23 September 2010 20:50:04 Thorsten Zachmann wrote:
> Hello Mek,
>
> can the following
>
> > setPosition(pos);
> >
> > +    setPosition(position() - m_viewMatrix.map(QPointF(0, 0))	 -
>
> m_viewBoxOffset)
>
> be simplified to
>
> setPosition(pos-m_viewMatrix.map(QPointF(0,0)) - m_viewBoxOffset);
Ah yes, of course. I first had the line of code in a different place in the 
code (where it didn't quite work correctly), and forgot to merge them after 
moving the line to the correct place.

Marijn
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic