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

List:       kde-kimageshop
Subject:    Re: Huh?
From:       Thomas Zander <zander () kde ! org>
Date:       2006-11-08 10:07:31
Message-ID: 200611081107.36610.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


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

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