Em ter 27 maio 2014, às 20:06:24, Tomaz Canabrava escreveu:
> +#if QT_VERSION >= 0x050000
> + qreal end_x = line.cursorToX(block.end-1,
> QTextLine::Trailing);
> +#else
> + qreal end_x = line.cursorToX(block.end,
> QTextLine::Trailing);
> +#endif
Can you explain this off-by-one error?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface