diff --git a/src/base/path.cpp b/src/base/path.cpp index 60e49bcd6bb..f1dd1f48042 100644 --- a/src/base/path.cpp +++ b/src/base/path.cpp @@ -173,10 +173,8 @@ bool Path::exists() const Path Path::rootItem() const { #ifdef Q_OS_WIN - if (this->isUNCPath()) - { + if (isUNCPath()) return createUnchecked(getUNCRootPathStr()); - } #endif const int slashIndex = m_pathStr.indexOf(u'/'); if (slashIndex < 0)