Cocoa: avoid a crash for cursor in QCocoaWindow
authorLiang Qi <liang.qi@digia.com>
Mon, 20 Jan 2014 08:56:24 +0000 (09:56 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 21 Jan 2014 06:03:48 +0000 (07:03 +0100)
commit09f54e99f2e956908f9104181e7d61fa2f6a027d
treee0284fbc49c75cbd3d02da2ac446b0646f7cc248
parenta19817082caa49309ba425e42f22637628f985d1
Cocoa: avoid a crash for cursor in QCocoaWindow

It need to be copied.

Task-number: QTBUG-35887
Change-Id: Ia165e6a8f9dc23733e53e11f9e1e98bf54e7dd20
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/plugins/platforms/cocoa/qcocoawindow.mm