[Patch] Stop twitter data engine from eating ':' and following text

Chani chanika at gmail.com
Sun Jan 13 06:15:28 CET 2008


> int colon = status.indexOf(':');
>
> if (colon < 1) {
>     return; // failed to get a name
> }
>
> QString user = staus.left(colon);
> m_status = status.right(status.length() - (colon + 1));

committed.

-- 
This message brought to you by evyl bananas, and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080113/4aa17d95/attachment.pgp 


More information about the Panel-devel mailing list