fix: remote cdup failed bug.

This commit is contained in:
2025-06-15 23:49:07 +08:00
parent b199b0e5e0
commit 81008e0d2d

View File

@@ -172,10 +172,7 @@ void FileManager::evtUp()
{
QString path(curRoot_);
QDir dir(path);
if (!dir.cdUp()) {
return;
}
path = dir.path();
path = QDir::cleanPath(dir.absolutePath() + "/..");
if (path.isEmpty()) {
return;
}