First connect to the signal, then register the object, and only at last register the service.
Otherwise it might expose a not yet fully operational service on DBus.
Details
Details
- Reviewers
hein davidedmundson - Group Reviewers
Plasma - Commits
- R119:76b112d8cd14: [Task Manager] Reverse DBus setup order
I made an app that listens for Unity service to be registered and send its badge info once it's there. Without this it would fire the signal before we connected to it resulting in the badge not showing on Plasma startup, with this patch it works.
iirc this is also what Thiago always said you should do when he did the threaded dbus changes in Qt 5.6
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.