fix: local file up blank bug.

This commit is contained in:
2025-06-15 23:31:27 +08:00
parent b36e645f87
commit b199b0e5e0
3 changed files with 4 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ bool LocalFile::GetDirFile(const QString& dir)
bool LocalFile::GetDirFile(const QString& dir, DirFileInfoVec& vec)
{
vec.vec.clear();
vec.root = dir;
QDir qdir(dir);
if (!qdir.exists()) {