I was reading through the Address Book example at
http://doc.qt.nokia.com/4.6/tutorials-addressbook-part2.html and the code that
checks if the input is empty jumped out at me. Coming from a .NET background
I'm all too familiar with the FxCop warning informing people to check if the
string length is 0 instead of comparing against the empty string to improve
I know it's only a minor optimization, but is using QString::isEmpty preferred
in the Qt world?
Qt-interest mailing list