old dtkwidget assume menu is not empty, but now it's not, and we revert this code. Moving addDefaultMenuItems from `showMenu` to `showEvent`, because some applications get menuItems and assert they are not empty before `showMenu`. delay to check UserManual avoid to request dbus in `showEvent`. Log: 升级后DTitleBar提供的menu可能没有默认菜单项,导致部分应用异常,改回 原来版本的逻辑 Bug: https://pms.uniontech.com/bug-view-170639.html Influence: 升级dtkwidget导致包管理器使用安装功能时崩溃 Change-Id: Ifae616c8ba5af3a2e28b1dbb00009e0a2872a989 |
||
|---|---|---|
| .. | ||
| platforms | ||
| translations | ||
| util | ||
| widgets | ||
| d_version.pri | ||
| dtkwidget_global.h | ||
| lib.pri | ||
| src.pro | ||