file: get remote file success.

This commit is contained in:
2025-06-15 23:13:30 +08:00
parent 3538de7f4e
commit b36e645f87
10 changed files with 131 additions and 32 deletions

View File

@@ -148,17 +148,7 @@ void FileManager::ShowFile(const DirFileInfoVec& info)
ui->tableWidget->setItem(i, 4, item);
}
ui->tableWidget->resizeColumnToContents(0);
if (info.vec.empty()) {
return;
}
QString fp = info.vec[0].fullPath;
QDir dir(fp);
dir.cdUp();
fp = dir.path();
curRoot_ = fp;
curRoot_ = info.root;
ShowPath(curRoot_);
}