davidedmundson added a comment.
Thanks for following this up!
In keepassx you need a second QMimeData
void QClipboard::setMimeData(QMimeData *src, Mode mode = Clipboard)
Sets the clipboard data to src. Ownership of the data is transferred to the
clipboard.
So the second call you're passing data you don't own. Not sure if that's the
cause of your issue. Maybe dump your full code somewhere and I'll take a look?
Interestingly your warning doesn't come from setting the data. That warning
is in QXcbClipboard::handleSelectionRequest i.e getting the current clipboard
information back.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D12373
To: hoffmannrobert
Cc: graesslin, broulik, davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot,
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart