Skip to content

Commit 7542f5f

Browse files
committed
fix: Fix disk interface display abnormality
The value of m_size is incorrectly stored in m_interface. Log: Fix disk interface display abnormality Bug: https://pms.uniontech.com/bug-view-327617.html
1 parent 48d975b commit 7542f5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service/diskoperation/DeviceStorage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ void DeviceStorage::getInfoFromLshw(const QMap<QString, QString> &mapInfo)
245245
QRegularExpressionMatch match = re.match(m_size);
246246
if (match.hasMatch()) {
247247
qDebug() << "Size match found in lshw info";
248-
m_interface = match.captured(1);
248+
m_size = match.captured(1);
249249
}
250250
#else
251251
QRegExp re(".*\\((.*)\\)$");

0 commit comments

Comments
 (0)