From 6967e0fdf6f8ead8548551f01447e093cd1cc36a Mon Sep 17 00:00:00 2001 From: DoubleSpicy Date: Thu, 30 Jan 2025 17:56:33 +0800 Subject: [PATCH] Update src/base/path.cpp Co-authored-by: Vladimir Golovnev --- src/base/path.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)