Skip to content
Commit 1d668a9f authored by David Edmundson's avatar David Edmundson
Browse files

Fix potential crash in pastejob

Mimedata is owned by the QPA. It will be deleted when a new clipboard
arrives.

PasteJob stores a pointer to the mimedata used. It has an async step
`QTimer::singleShot(0, this, SLOT(slotStart()));` mimeData can be
deleted in the meantime.

This patch adds a guard for that.

BUG: 439948
parent d7da117e
Loading
Loading
Loading
Pipeline #137763 passed with stage
in 16 minutes and 32 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment