oh thanks. I assumed that did the same as QFileInfo::filePath().