- Avoid showing the window of the second instance by creating KDBusService object before creating the window object.
- Activate the window on the second start.
Details
Details
- Reviewers
mart - Group Reviewers
Plasma - Commits
- R102:cc3e7450b506: Improve single-instance application behavior
Diff Detail
Diff Detail
- Repository
- R102 KInfoCenter
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage
main.cpp | ||
---|---|---|
71 | KWindowSystem::forceActiveWindow should never be used by normal applications, it's reserved for workspaces and won't work on Wayland. |
This comment was removed by volkov.
main.cpp | ||
---|---|---|
71 | The documentation of KDBusService recommends to use it: |