chore: 修改静态检查报错
修改静态检查报错 Log: Influence: 修复gerrit static-vefified -1 报错 Task: https://pms.uniontech.com/task-view-157871.html Change-Id: I491e7fa7403170e66fb18ca35fa3e31519aa54d5
This commit is contained in:
@ -35,10 +35,16 @@ typedef std::function<void(uint32_t)> AppMenuAction;
|
||||
class AppMenu;
|
||||
|
||||
// 应用菜单选项
|
||||
struct AppMenuItem {
|
||||
struct AppMenuItem
|
||||
{
|
||||
AppMenuItem()
|
||||
: isActive(true)
|
||||
, hint(0)
|
||||
{
|
||||
}
|
||||
|
||||
QString id;
|
||||
QString text;
|
||||
bool isActive;
|
||||
QString isCheckable;
|
||||
QString checked;
|
||||
QString icon;
|
||||
@ -47,6 +53,7 @@ struct AppMenuItem {
|
||||
QString showCheckMark;
|
||||
std::shared_ptr<AppMenu> subMenu;
|
||||
|
||||
bool isActive;
|
||||
int hint;
|
||||
AppMenuAction action;
|
||||
};
|
||||
|
Reference in New Issue
Block a user