Skip to content

Don't set a parent on sharedpointer mangaed object

David Edmundson requested to merge work/fix_crash into Plasma/5.19

Device follows a pattern of being managed in QSharedPointers.

At this point having a parent for the purposes of memory management doesn't accomplish anything useful.

The kded class can keep a reference to the device in pendingDevices, this owns the manager so will drop it's reference after the manager is gone.

BUG: 423029

Edited by David Edmundson

Merge request reports