diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-03-27 16:26:15 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-28 12:04:45 +0100 |
commit | 1967978f5d0b225aec561a0e1028b9e02f5cdce4 (patch) | |
tree | ac2fb549b19e0e9c327ffe018663b9dab0b1b10c /Source/JavaScriptCore/API/JSStringRefQt.cpp | |
parent | 9b75f92b9a3ab3216da79f390b49919266ca258f (diff) | |
download | qtwebkit-1967978f5d0b225aec561a0e1028b9e02f5cdce4.tar.gz |
Fix crash on access of dead QMimeData
When we give a QMimeData to the system pasteboard, we should no longer
access it locally.
This patch ensures we invalidate the pointer to the QMimeDate once it
has been uploaded to the system clipboard. To ensure we can still read
values we have writen, the code to read the pasteboard data will now
read it from the system pasteboard when applicable. Several places
the latter was done manually have been removed.
Task-number: QTBUG-37904
Change-Id: I9c37b2fcc58ebbc387319be39c190fd7db6f70eb
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JSStringRefQt.cpp')
0 files changed, 0 insertions, 0 deletions