Use QString() instead of QStringLiteral("")
authorFrederik Gladhorn <frederik.gladhorn@digia.com>
Sat, 18 Jan 2014 00:32:30 +0000 (01:32 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 18 Jan 2014 13:45:46 +0000 (14:45 +0100)
commit3359932202f79b0fa80ae8d3a6ec73f35b34c738
treeb452b15c63e073db4b3e19b6ee19db159af89d6d
parentabf5f99d1808bbf18b8ebbe2b9468d409fe77158
Use QString() instead of QStringLiteral("")

And do the same for QByteArray.
Instantiating the default constructor uses QArrayData::sharedNull() for
the d-pointer which is the cheapest constructor in memory and
instructions.

Change-Id: I1ceaafbc0c0cb1ccc5690edba89ea1100f30b3cd
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
src/websockets/qwebsocket_p.cpp
src/websockets/qwebsockethandshakerequest.cpp
tests/auto/websocketcorsauthenticator/tst_websocketcorsauthenticator.cpp
tests/auto/websocketframe/tst_websocketframe.cpp
tests/auto/websocketprotocol/tst_websocketprotocol.cpp