Skip to content

Commit

Permalink
fix: 修复系统通知点击反应迟钝问题
Browse files Browse the repository at this point in the history
由于用户安装了steam后,系统通知收到的消息ID为空,修改增加对消息ID为空的判断解决该问题

Log: 修复系统通知点击反应迟钝问题
Bug: https://pms.uniontech.com/bug-view-91059.html
Influence: 系统通知
  • Loading branch information
WuHaizhou authored and KT-lcz committed Dec 7, 2022
1 parent e799a51 commit 0780031
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dde-osd/notification/notifysettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ void NotifySettings::initAllSettings()
continue;
}

if (item.ID == "") {
continue;
}

if (appList.contains(item.ID)) {
// 修改系统语言后需要更新翻译
QGSettings itemSetting(appSchemaKey.toLocal8Bit(), appSchemaPath.arg(item.ID).toLocal8Bit(), this);
Expand Down

0 comments on commit 0780031

Please sign in to comment.