You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Removed DataPanel.qml and related test functionality from
NotifyHeader.qml
2. Removed legacy DBus notification handling code in
notificationcenterpanel.cpp
3. Cleaned up NotifyAccessor by removing debug/test methods (addNotify,
fetchDataInfo)
4. Simplified notification removal methods to only use new dataUpdater
interface
5. Improved database error logging in DBAccessor
6. Enhanced notification logging in NotificationManager
These changes remove unused debug/test code and legacy DBus interfaces
that were replaced by the new dataUpdater system. The cleanup improves
code maintainability and reduces potential security surface by removing
unused code paths. The logging improvements provide better debugging
information while removing redundant debug tools.
refactor: 移除调试面板和遗留DBus代码
1. 移除DataPanel.qml及NotifyHeader.qml中的相关测试功能
2. 删除notificationcenterpanel.cpp中的遗留DBus通知处理代码
3. 清理NotifyAccessor中的调试/测试方法(addNotify, fetchDataInfo)
4. 简化通知移除方法,仅使用新的dataUpdater接口
5. 在DBAccessor中改进数据库错误日志记录
6. 在NotificationManager中增强通知日志记录
这些变更移除了未使用的调试/测试代码和被新dataUpdater系统取代的遗留DBus接
口。清理工作提高了代码可维护性,并通过移除未使用的代码路径减少了潜在的安
全风险。日志记录的改进在移除冗余调试工具的同时提供了更好的调试信息。
0 commit comments