Fix QNetworkRequest::setRawHeader() for QT_NO_CAST_FROM_BYTEARRAY
Avoid the implicit conversion in the doc snippet. Change-Id: Iacec6dab371a22c16f537af471f6653d9c5ad43d Reviewed-by: Andy Shaw <andy.shaw@digia.com>
This commit is contained in:
parent
c33849d0cb
commit
0ed1042092
@ -39,5 +39,5 @@
|
||||
****************************************************************************/
|
||||
|
||||
//! [0]
|
||||
request.setRawHeader("Last-Modified", "Sun, 06 Nov 1994 08:49:37 GMT");
|
||||
request.setRawHeader(QByteArray("Last-Modified"), QByteArray("Sun, 06 Nov 1994 08:49:37 GMT"));
|
||||
//! [0]
|
||||
|
Loading…
Reference in New Issue
Block a user