Skip to content

Commit 94f2865

Browse files
committed
fix: Fix compilation errors
As title. Log: Merge from release/1071 Task: https://pms.uniontech.com/task-view-383523.html
1 parent ca2bac9 commit 94f2865

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
@@ -777,7 +777,7 @@ void DeviceStorage::getDiskInfoInterface(const QString &devicePath, QString &int
777777
void DeviceStorage::updateForHWDevice(const QString &/*devicePath*/)
778778
{
779779
qDebug() << "DeviceStorage::updateForHWDevice BEGIN";
780-
if (Utils::readContent("/proc/bootdevice/product_name").trimmed().isEmpty())
780+
if (Utils::readContent("/proc/bootdevice/product_name").trimmed().isEmpty()) {
781781
qDebug() << "Fail to read the product_name file or the file is empty, return";
782782
return;
783783
}

0 commit comments

Comments
 (0)