qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] Where is the mistake ?

Subject: Re: [Qt-interest] Where is the mistake ?
From: jjDaNiMoTh
Date: Mon, 16 Nov 2009 11:32:02 +0100
2009/11/16 rafal <skowroniasty@xxxxxxx>:
> 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
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>