We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1a93e commit a13650fCopy full SHA for a13650f
liteidex/src/utils/filesystem/filesystemmodel.cpp
@@ -362,7 +362,7 @@ bool FileSystemModel::removeRootPath(const QString &path)
362
363
bool FileSystemModel::addRootPath(const QString &path)
364
{
365
- QString pathName = QDir::fromNativeSeparators(path);
+ QString pathName = QDir::fromNativeSeparators(QDir::cleanPath(path));
366
if (m_pathList.contains(pathName)) {
367
return false;
368
}
0 commit comments