Skip to content
Commit d21096fa authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Fix adding files to data project

In cf01ff31 this broke by randomly using QSharedPointer in the wrong way.
There was only this one item being referenced, once it fell out of scope it got deleted, and then by the
time the event loop returned and the queued invocation was processed, the object was already gone.

Just use WA_DeleteOnClose which will clean up nicely once we're done.

BUG: 375016

Differential Revision: https://phabricator.kde.org/D4571
parent c01a9cbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment