Skip to content

Commit

Permalink
fix: 修复传输文件时,系统监视器不显示传输速度
Browse files Browse the repository at this point in the history
修复传输文件时,系统监视器不显示传输速度

Log: 修复传输文件时,系统监视器不显示传输速度

Bug: https://pms.uniontech.com/bug-view-200077.html
  • Loading branch information
jeffshuai authored and deepin-bot[bot] committed Aug 3, 2023
1 parent 9aaa92d commit eab0d89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deepin-system-monitor-main/system/block_device_info_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ void BlockDeviceInfoDB::readDiskInfo()

//获取虚拟磁盘
for (int i = 0; i < list.size(); ++i) {
if (list[i].fileName() != "." && list[i].fileName() != ".." && !list[i].fileName().contains("ram") && !list[i].fileName().contains("loop")) {
QString t_link = list.at(i).readLink();
if (list[i].fileName() != "." && list[i].fileName() != ".." && !list[i].fileName().contains("ram") && !list[i].fileName().contains("loop") && t_link.contains("virtual")) {
int index = -1;
// 查找当前的device是否存在
for (int si = 0; si < m_deviceList.size(); ++si) {
Expand Down

0 comments on commit eab0d89

Please sign in to comment.