Skip to content

Commit ce2cc29

Browse files
shuaijiedeepin-bot[bot]
authored andcommitted
fix: 修复其它设备中不可用情况
依据hwinfo的"cfg_avail=yes"作可用 Log: 修复其它设备中指纹不可用 Bug: https://pms.uniontech.com/bug-view-262721.html
1 parent dd4f7d5 commit ce2cc29

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

deepin-devicemanager/src/DeviceManager/DeviceOthers.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ void DeviceOthers::setInfoFromHwinfo(const QMap<QString, QString> &mapInfo)
9595
m_CanUninstall = false;
9696
}
9797
setAttribute(mapInfo, "cfg_avail", m_Avail);
98+
if(!m_Avail.compare("yes", Qt::CaseInsensitive))
99+
setForcedDisplay(true);
98100

99101
getOtherMapInfo(mapInfo);
100102
// 核内驱动不显示卸载菜单

0 commit comments

Comments
 (0)