diff options
Diffstat (limited to 'src/libs/utils/filepath.cpp')
-rw-r--r-- | src/libs/utils/filepath.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/filepath.cpp b/src/libs/utils/filepath.cpp index 9b97fb6b02..3af026d9ba 100644 --- a/src/libs/utils/filepath.cpp +++ b/src/libs/utils/filepath.cpp @@ -1320,13 +1320,13 @@ FilePath FilePath::relativeChildPath(const FilePath &parent) const } /*! - Returns the relativePath of FilePath from a given \a anchor. + Returns the relative path of FilePath from a given \a anchor. Both, FilePath and anchor may be files or directories. Example usage: \code FilePath filePath("/foo/b/ar/file.txt"); - FilePath relativePath = filePath.relativePath("/foo/c"); + FilePath relativePath = filePath.relativePathFrom("/foo/c"); qDebug() << relativePath \endcode |