Huh?
Thomas Zander
zander at kde.org
Wed Nov 8 11:07:31 CET 2006
in any such instance in the future, be sure to add
#ifndef NDEBUG
at strategic places. This define is made based on the user building with debug
or not. So it will only appear in developer builds, never in end-user builds.
On Wednesday 08 November 2006 10:52, Boudewijn Rempt wrote:
> I take it that this code was not supposed to be released?
>
> QRect KisPaintDevice::exactBounds() const
> {
> QRect r1 = exactBoundsOldMethod();
> QRect r2 = exactBoundsImprovedOldMethod();
> if(r1 != r2)
> {
> kdDebug() << "EXACTBOUNDSERROR : " << r1 << " " << r2 << endl;
> }
> return r2;
> }
>
> Btw, I'm changing all instances of selection->exactBounds() and
> selection->extent() into selection->selectedRect().
--
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20061108/b132aef1/attachment.pgp
More information about the kimageshop
mailing list