Port to UpdateLaunchEnvJob
ClosedPublic

Authored by broulik on Jan 30 2020, 10:34 AM.

Details

Test Plan

Depends on D26993

Diff Detail

Repository
R119 Plasma Desktop
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Jan 30 2020, 10:34 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 30 2020, 10:34 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Jan 30 2020, 10:34 AM
davidedmundson accepted this revision.Jan 30 2020, 10:43 AM
davidedmundson added a subscriber: davidedmundson.

Beautiful.

I suspect this will fix a few bugs whilst we're at it.
There were a lot running after startplasma has started, so wouldn't have been synced properly to the DBus env.

kcms/krdb/krdb.cpp
39–40

I don't understand why this changes

This revision is now accepted and ready to land.Jan 30 2020, 10:43 AM
broulik added inline comments.Jan 30 2020, 10:46 AM
kcms/krdb/krdb.cpp
39–40

I don't either but it wouldn't build without.

This revision was automatically updated to reflect the committed changes.

We haven't called start on any of the jobs, so they do nothing

:/

Also given they're kjobs do we want:

auto job = new UpdateEnvJob()
so we don't delete the job immediately?