!fd.isEmpty() is a little better because it includes isNull() QStrings and it reads more like English.