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

List:       kde-core-devel
Subject:    Re: khtml - render_text: Q3PtrVector->QVector
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-06-28 9:09:04
Message-ID: 200606281109.05067.thiago () kde ! org
[Download RAW message or body]


David Faure wrote:
>But it's very strange that the binary search compares pointers and not Y
> values... Might be a good idea to check the kde3 version of this code,
> the previous porting might have broken it already.

If you make it a QVector<InlineTextBox*>, then you're comparing pointer 
values.

QVector<InlineTextBox*>::Iterator == InlineTextBox**

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech ASA
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway

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

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

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