internalSystray is (for some reason) only set in Component.onCompleted. This fixes the warning this causes.
Details
- Reviewers
mart broulik - Group Reviewers
Plasma - Commits
- R120:ec420791b189: [System Tray] Silence warning
R871:ec420791b189: [System Tray] Silence warning
I guess not binding directly is due to some native interface initialization order foo?
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
I guess not binding directly is due to some native interface initialization order foo?
The problem with assuming the original author had a valid reason for whatever they were doing is we end up just building hacks on top of code for no reason. Then it escalates into something unmaintainable. There is no need for any "initialisation order foo", though the existing code managed to create one.
I fixed the system tray. Patch incoming.
the thing is that internalSystray can be assigned at any moment, since being usually its config after the one of the container in appletsrc, usually when the applet container is started and initialized, the systray containment still doesn't exist