From 84969eaf88e8b11ff04b6d99fc0819f84a1a080f Mon Sep 17 00:00:00 2001 From: fengli Date: Thu, 16 Nov 2023 14:03:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=83=A8=E5=88=86=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E2=80=9C=E7=89=A9=E7=90=86ID=E2=80=9D=E5=92=8C=E2=80=9C?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=88=AB=E5=90=8D=E2=80=9D=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复部分设备 “物理ID”和“模块别名”重复显示 Log: 修复部分设备 “物理ID”和“模块别名”重复显示 Bug: https://pms.uniontech.com/bug-view-228921.html --- deepin-devicemanager/src/DeviceManager/DeviceAudio.cpp | 2 -- deepin-devicemanager/src/DeviceManager/DeviceStorage.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/deepin-devicemanager/src/DeviceManager/DeviceAudio.cpp b/deepin-devicemanager/src/DeviceManager/DeviceAudio.cpp index 783d1a6c..e6e4697e 100644 --- a/deepin-devicemanager/src/DeviceManager/DeviceAudio.cpp +++ b/deepin-devicemanager/src/DeviceManager/DeviceAudio.cpp @@ -328,8 +328,6 @@ void DeviceAudio::loadBaseDeviceInfo() // 添加基本信息 addBaseDeviceInfo(tr("Name"), m_Name); addBaseDeviceInfo(tr("Vendor"), m_Vendor); - addBaseDeviceInfo(tr("Module Alias"), m_Modalias); - addBaseDeviceInfo(tr("Physical ID"), m_PhysID); addBaseDeviceInfo(tr("SysFS_Path"), m_SysPath); addBaseDeviceInfo(tr("Description"), m_Description); addBaseDeviceInfo(tr("Revision"), m_Version); diff --git a/deepin-devicemanager/src/DeviceManager/DeviceStorage.cpp b/deepin-devicemanager/src/DeviceManager/DeviceStorage.cpp index ddcd5736..4bf89673 100644 --- a/deepin-devicemanager/src/DeviceManager/DeviceStorage.cpp +++ b/deepin-devicemanager/src/DeviceManager/DeviceStorage.cpp @@ -512,8 +512,6 @@ void DeviceStorage::loadBaseDeviceInfo() void DeviceStorage::loadOtherDeviceInfo() { // 添加其他信息,成员变量 - addOtherDeviceInfo(tr("Module Alias"), m_Modalias); - addOtherDeviceInfo(tr("Physical ID"), m_PhysID); addOtherDeviceInfo(tr("Firmware Version"), m_FirmwareVersion); addOtherDeviceInfo(tr("Speed"), m_Speed); addOtherDeviceInfo(tr("Description"), m_Description);