Skip to content

Conversation

@yixinshark
Copy link
Contributor

as title

Log: as title
pms: BUG-294157

}

// TODO temporary fix for AppNamesMap
QScopedPointer<DConfig> config(DConfig::create("org.deepin.dde.shell", "org.deepin.dde.shell.notification"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个加个缓存吧,只有加载时读一下就好了,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

}

QString tsAppName = m_setting->appValue(appId, NotificationSetting::AppName).toString();
qInfo(notifyLog) << "ts appName" << tsAppName << ", AppId" << appId;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

日志不加吧,或者换成debug的,

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

as title

Log: as title
pms: BUG-294157
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • notificationmanager.cpp中新增的m_appNamesMap变量应该有相应的注释说明其用途和作用。
  • Notify函数中新增的tsAppName变量应该有注释说明其来源和用途。
  • appIdByAppName函数中新增了对m_appNamesMap的检查,但没有注释说明这一变更的目的。

是否建议立即修改:

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, yixinshark

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yixinshark
Copy link
Contributor Author

/forcemerge

@deepin-bot
Copy link

deepin-bot bot commented Dec 12, 2024

This pr force merged! (status: blocked)

@deepin-bot deepin-bot bot merged commit 44cc284 into linuxdeepin:master Dec 12, 2024
7 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants