Skip to content

Commit

Permalink
Update src/base/path.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
  • Loading branch information
DoubleSpicy and glassez authored Jan 30, 2025
1 parent 87cd18c commit 6967e0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/base/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6967e0f

Please sign in to comment.