Hey Bastien and others,

2011/10/17 Bastien AMIEL <bastien.am...@opencubetech.com>:
> @Magnus
> pretty efficient strategy :D

But perhaps you don't need an item delegate after all, you can catch
click events already with WAbstractItemView::clicked() ?

> As those informations are important (and those characters must be
> displayed well) I can't afford to avoid them.
> Anyone got an idea to handle this ?

I wouldn't be able to tell what is wrong at this point. If the reason
is illegal UTF-8 encoding, then you would need to check the origin of
this. The solution there is to always use WString::fromUTF8() when
converting between a UTF-8 encoded string and a WString.

Even if the lexical_cast is not in your code, it would be great if you
could produce a stack trace, by using e.g. gdb and 'catch throw' +
'bt'

Regards,
koen

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to