summaryrefslogtreecommitdiff
path: root/src/imports
diff options
context:
space:
mode:
authorSteven Ceuppens <steven.ceuppens@icloud.com>2013-10-10 16:05:54 +0200
committerSteven Ceuppens <steven.ceuppens@icloud.com>2013-10-11 10:46:56 +0200
commit6dfcbd2ef321ecec1869aa6a7f2a8d881727ea3a (patch)
tree9f9139a2528ae5971bf1655604658a1bb7117449 /src/imports
parentb86f2949f63e0ae904c19fb6d39dc6793b164db9 (diff)
downloadqtwebsockets-6dfcbd2ef321ecec1869aa6a7f2a8d881727ea3a.tar.gz
make use of the new Q_NULLPTR keyword & shorten if(ptr) conditions
Change-Id: I4a71909134032d10b398ede74c431964bce7d675 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/qmlwebsockets/qqmlwebsocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/qmlwebsockets/qqmlwebsocket.h b/src/imports/qmlwebsockets/qqmlwebsocket.h
index 9b95c28..191911d 100644
--- a/src/imports/qmlwebsockets/qqmlwebsocket.h
+++ b/src/imports/qmlwebsockets/qqmlwebsocket.h
@@ -30,7 +30,7 @@ class QQmlWebSocket : public QObject, public QQmlParserStatus
Q_INTERFACES(QQmlParserStatus)
public:
- explicit QQmlWebSocket(QObject *parent = 0);
+ explicit QQmlWebSocket(QObject *parent = Q_NULLPTR);
public:
void classBegin() Q_DECL_OVERRIDE;