From kde-panel-devel Sat Oct 31 13:54:10 2009 From: Petri =?iso-8859-15?q?Damst=E9n?= Date: Sat, 31 Oct 2009 13:54:10 +0000 To: kde-panel-devel Subject: Re: setData & QVariant Message-Id: <200910311554.37015.petri.damsten () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=125699731914839 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1293438343==" --===============1293438343== Content-Type: multipart/signed; boundary="nextPart6104784.6y0aJ6CNqn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart6104784.6y0aJ6CNqn Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Friday 30 October 2009 19:53:29 Aaron J. Seigo wrote: > On October 30, 2009, Petri Damst=E9n 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 >=20 > odd ... >=20 > what does a simple app like this give you: >=20 > #include > #include > using namespace std; >=20 > int main() > { > QVariant v; > cout << v.isNull() << " " << v.isValid() << endl; > return 0; > } >=20 test$ ./mytest 1 0 Petri --nextPart6104784.6y0aJ6CNqn Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBK7EGDvZDJ0CPrXBoRAi2CAJ4wSHLDuLXRLYMGbSihKnlfpYrJTQCeKOYW CYF4i/dRGJPTJtkQYWKuynA= =c/so -----END PGP SIGNATURE----- --nextPart6104784.6y0aJ6CNqn-- --===============1293438343== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============1293438343==--