Document QClipboard::mimeData can be null

The current wording (reference) seems like it's always a pointer to valid stuff

Change-Id: I2a9f8bde7d2ba672e4e664ff731a3272a6deaaaa
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Albert Astals Cid 2016-10-17 14:05:10 +02:00
parent 683c9bc4a8
commit 8249f490ff

View File

@ -419,8 +419,9 @@ void QClipboard::setPixmap(const QPixmap &pixmap, Mode mode)
/*! /*!
\fn QMimeData *QClipboard::mimeData(Mode mode) const \fn QMimeData *QClipboard::mimeData(Mode mode) const
Returns a reference to a QMimeData representation of the current Returns a pointer to a QMimeData representation of the current
clipboard data. clipboard data (can be NULL if the given \a mode is not
supported by the platform).
The \a mode argument is used to control which part of the system The \a mode argument is used to control which part of the system
clipboard is used. If \a mode is QClipboard::Clipboard, the clipboard is used. If \a mode is QClipboard::Clipboard, the