setData & QVariant

Aaron J. Seigo aseigo at kde.org
Fri Oct 30 18:53:29 CET 2009


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;
}


-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091030/17fa69ec/attachment.sig 


More information about the Plasma-devel mailing list