[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: koffice/kspread
From:       David Faure <faure () kde ! org>
Date:       2007-06-30 20:52:11
Message-ID: 200706302252.11429.faure () kde ! org
[Download RAW message or body]

On Saturday 30 June 2007, Stefan Nikolaus wrote:
> SVN commit 681799 by nikolaus:
> 
> Give the default auto-filter a name, because QString() equals QString(""). I \
> expected, that there's a difference between null and empty strings. :|
There's a difference (isNull() only returns null for the first kind), but operator== \
says they are equal indeed, to avoid all those nasty bugs we had in kde3 where a null \
string (e.g. user entered nothing) and an empty string (e.g. as returned by config) \
were considered different (while for the user of a lineedit, it's really empty in \
both cases).

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic