On Monday 12 February 2007 18:28, Thiago Macieira wrote: > Martijn Klingens wrote: > >My first feeling is to use the rich text body for > > QString::isRightToLeft(), but I don't know if the markup causes wrong > > results. Thiago, do you know? > > QString::isRightToLeft() -- an internal non-public API function -- caches > its result,
Yes, but Kopete::Message::plainBody does not, and that's where the QString comes from. Thus I would like to switch the code to use the rich text body instead of plainBody() saving the expensive conversion. But in that case we feed isRightToLeft() a string containing HTML markup, is that going to influence the result? -- Martijn I'm not a crook; I'm "ethically challenged." _______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
