[patch] klineedit: use isEmpty()

David Faure faure at kde.org
Tue Apr 8 18:51:36 BST 2008


On Tuesday 08 April 2008, Jaroslaw Staniek wrote:
> David Faure said the following, On 2008-04-06 23:44:
> > On Thursday 03 April 2008, Jarosław Staniek wrote:
> >> for review: no idea why input.isNull() was used, perhaps there's a reason?
> > 
> > Then why change it?
> > 
> 
> To make the code work as expected when input == "" ?

OK, seems safe after all.

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




More information about the kde-core-devel mailing list