From cc6c9e4b5ecb275425f4ed141ca71912c2a95ae3 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Fri, 27 Jan 2023 17:58:57 +0100 Subject: [PATCH] FilePath: fix documentation Change-Id: Icd2ea0842279ac5ca9225b760aa7634b8db3e06d Reviewed-by: Tim Jenssen --- src/libs/utils/filepath.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/utils/filepath.cpp b/src/libs/utils/filepath.cpp index a5b3381acc6..921c690f523 100644 --- a/src/libs/utils/filepath.cpp +++ b/src/libs/utils/filepath.cpp @@ -978,13 +978,13 @@ FilePath FilePath::relativeChildPath(const FilePath &parent) const return res; } -/// \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 ///