setData & QVariant

Petri Damstén petri.damsten at gmail.com
Fri Oct 30 11:39:29 CET 2009


Hi,

I'm trying to fix BUG 212342. It seems like if variable is put to QVariant and 
then as a parameter to setData it does not work. If same variable is put as a 
parameter to setData directly it works? see attached patch. I think this 
happened after updating to Qt 4.6.

Petri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solid.diff
Type: text/x-patch
Size: 1639 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091030/367a7bc8/attachment.diff 
-------------- 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/plasma-devel/attachments/20091030/367a7bc8/attachment.sig 


More information about the Plasma-devel mailing list