Carsten Pfeiffer wrote: > > Hi, > > when locate()/findResource() can't find the desired file, it returns > QString::null - can't we give it an additional parameter to be returned > then? Just like KConfig does. I've not been thinking about this for too long. Could you please provide an example where this would be useful ? If findResouce() returns Null the resource simply *doesn't* exist. I fail to see what you are going to do with the name of file that isn't there ? Just curious. Harri. > > We would save the if (bla.isNull()), then. > > It can have a default parameter QString::null, so no changes would have to > be made to existing code.