[Qt-interest] what is best way of assigning null to QString

Dave Smith dave at thesmithfam.org
Thu Mar 11 00:57:15 CET 2010


Irfan Omair wrote:

> Use QString() or QString::null
> I blv both is better than  =0;

Agreed. And I would add that this is the wrong way:

    str = ""; // Not null!

--Dave



More information about the Qt-interest-old mailing list