Skip to content

Conversation

@yanagiragi
Copy link
Contributor

@yanagiragi yanagiragi commented Jun 10, 2022

Solves #59 and add basic example:

File
├─ New
│ └─ New File
└─ Exit

qDebug() << "Create new file!";
});
RAction * exitAction = new RAction(
QString("Exit"),
Copy link
Member

Choose a reason for hiding this comment

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

Interestingly, on mac, when this menu item string is Exit, the item does not show. It shows after the string changes to something else. I will study why it happens and fix it later.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be clear, the case we discovered should be the menu item string starts with Exit, not sure the contains Exit will also fail or not.

@yungyuc yungyuc merged commit 1f0c96b into solvcon:master Jun 11, 2022
@yanagiragi yanagiragi deleted the 59-add-menubar branch June 11, 2022 08:31
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.

2 participants