diff --git a/src/base/path.cpp b/src/base/path.cpp index f1dd1f480427..f4162e040c37 100644 --- a/src/base/path.cpp +++ b/src/base/path.cpp @@ -194,7 +194,7 @@ Path Path::rootItem() const Path Path::parentPath() const { #ifdef Q_OS_WIN - if (this->isUNCPath()) + if (isUNCPath()) { // UNC path checks guarantee path in \\host\drive or \\host\drive\xxx format const auto rootPath = getUNCRootPathStr(); @@ -430,7 +430,7 @@ std::size_t qHash(const Path &key, const std::size_t seed) } #if defined(Q_OS_WIN) -bool isQStrUNCPath(const QString &path) +bool isUNCPath(const QString &path) { // strict format of \\host\drive\folder with no forbidden char to avoid conflict with normal path if (path.left(2) != uR"(\\)"_s)