Don't return a null QMimeData from the clipboard
The documentation for QClipboard::mimeData() doesn't say that the returned value can be null, and some clients just dereference that without checking. So instead return an empty QMimeData. Change-Id: Ieec3140af4e7f33cde98ed96fd96b2674d0d0f9f Reviewed-by:Pier Luigi Fiorini <pierluigi.fiorini@hawaiios.org> Reviewed-by:
Johan Helsing <johan.helsing@qt.io>
Please register or sign in to comment