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:
parent
683c9bc4a8
commit
8249f490ff
@ -419,8 +419,9 @@ void QClipboard::setPixmap(const QPixmap &pixmap, Mode mode)
|
||||
/*!
|
||||
\fn QMimeData *QClipboard::mimeData(Mode mode) const
|
||||
|
||||
Returns a reference to a QMimeData representation of the current
|
||||
clipboard data.
|
||||
Returns a pointer to a QMimeData representation of the current
|
||||
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
|
||||
clipboard is used. If \a mode is QClipboard::Clipboard, the
|
||||
|
Loading…
x
Reference in New Issue
Block a user