[patch] kfilewidget, kurlcompletion, kurl: improve experience of using the file widget

David Faure faure at kde.org
Mon Apr 7 10:38:46 BST 2008


On Thursday 03 April 2008, Jarosław Staniek wrote:
>  return u1.toString( options ).toLower() == u2.toString( options ).toLower();

QString::compare( a, b, Qt::CaseInsensitive )  would be faster than two calls to toLower().

Your hasSubUrl optimization should probably use a switch() statement?

-- 
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