summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-07-25 12:37:20 +0200
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-07-25 17:05:36 +0000
commitad0d2f463a0905c4705660d96e8a514539c51d36 (patch)
tree20b80f249c13b905e9db1b3b5492ee231a08f731 /config.tests
parent65cdffeaeadfc52fe0d1f2a73f82b698327a3b27 (diff)
Cocoa integration - fix a crash in QMacPasteboard
QMacPasteboard's dtor skips LazyRequest promises and this leaves pasteboard manager in broken state, since we release the pasteboard itself of the next step in destructor. As a result, not only Qt's app doing D & D (and thus via QCocoaDrag creating a stack-allocated QMacPasteboard) can die suddenly when somebody inspects a pasteboard, this 'somebody' ... can also die amazingly. So now we DO resolve promises using PasteboardResolvePromises (but we also preserve the original intent of not providing or providing empty data for lazy requests). Task-number: QTBUG-54663 Task-number: QTBUG-54832 Change-Id: I3ce90bd0a012dd3cbb30c93b2b17dce9473acb28 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions