khtml - render_text: Q3PtrVector->QVector

Thiago Macieira thiago at kde.org
Wed Jun 28 10:09:04 BST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060628/49d3b093/attachment.sig>


More information about the kde-core-devel mailing list