We add our own "Close" item manually. Also, add a separator (QMenu is smart enough not to show separators at the beginning of the list, ie. if there's no applet actions)
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R120:71dda89bb80d: [Plasma Windowed] Disable standard actions on SNI
No Quit entry anymore
Verified that plasmawindowed still quits when closing the last applet window
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Lint Skipped - Unit
Unit Tests Skipped
plasma-windowed/plasmawindowedview.cpp | ||
---|---|---|
115 | or we could just not manually add our own close entry? Would be less code and give us the minimzeRestore thing too? |
plasma-windowed/plasmawindowedview.cpp | ||
---|---|---|
115 | SNI's default action would *quit* the app but one plasma-windowed instance can host multiple applet windows, each of which can show an SNI. |