[Qt-interest] Where is the mistake ?

jjDaNiMoTh jjdanimoth at gmail.com
Mon Nov 16 11:32:02 CET 2009


2009/11/16 rafal <skowroniasty at onet.pl>:
> Hi,
> I have some problem for this code:
[cut]

> void Kasinski::getAllIndex(QString text)
>
> {
>
> if ( !key.isEmpty() && !key.isNull())

if ( NOT key.isEmpty() AND NOT key.isNull() )

Is it really what you want? Or maybe

if ( key.isEmpty() ) // returns true also if it is null


-- 
Key Fingerprint
4588 F931 A6E7 C7D5 A302  3064 12EB E87F 9B28 A9D2



More information about the Qt-interest-old mailing list