Skip to content

Commit

Permalink
fix: 修复bzip2/xz/gzip/lzma压缩的单文件打开时文件时间显示问题
Browse files Browse the repository at this point in the history
修复bzip2/xz/gzip/lzma压缩的单文件打开时文件时间显示问题

Bug: https://pms.uniontech.com/bug-view-275771.html
Log: 修复bzip2/xz/gzip/lzma压缩的单文件打开时文件时间显示问题
  • Loading branch information
myk1343 committed Sep 26, 2024
1 parent 8cd7dab commit dc5d8c7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ PluginFinishType LibSingleFileInterface::list()
entry.strFullPath = uncompressedFileName();
entry.strFileName = entry.strFullPath;
entry.qSize = QFileInfo(m_strArchiveName).size(); // 只能获取到压缩后大小
entry.uLastModifiedTime = QFileInfo(m_strArchiveName).lastModified().toTime_t();

stArchiveData.qSize = entry.qSize;
stArchiveData.qComressSize = entry.qSize;
Expand Down

0 comments on commit dc5d8c7

Please sign in to comment.