setData & QVariant

Petri Damstén petri.damsten at gmail.com
Sat Oct 31 14:54:10 CET 2009


On Friday 30 October 2009 19:53:29 Aaron J. Seigo wrote:
> On October 30, 2009, Petri Damstén wrote:
> > 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
> 
> odd ...
> 
> what does a simple app like this give you:
> 
> #include <qvariant.h>
> #include <iostream>
> using namespace std;
> 
> int main()
> {
>     QVariant v;
>     cout << v.isNull() << " " << v.isValid() << endl;
>     return 0;
> }
> 

test$ ./mytest
1 0

Petri
-------------- 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/20091031/69fe3aa8/attachment.sig 


More information about the Plasma-devel mailing list