diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index abc0616883..e847ecc5a2 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -268,7 +268,7 @@ string FileName::onlyFileName() const FileName FileName::onlyPath() const { FileName path; - path.d->fi.setFile(d->fi.filePath()); + path.d->fi.setFile(d->fi.path()); return path; }