aboutsummaryrefslogtreecommitdiffstats
path: root/src/webchannel/qqmlwebchannel.h
diff options
context:
space:
mode:
authorØystein Heskestad <oystein.heskestad@qt.io>2021-03-23 09:19:05 +0100
committerØystein Heskestad <oystein.heskestad@qt.io>2021-03-23 12:32:33 +0100
commit37d15b2f0bcda4918b0788d7b2c3cd96bb5eb1ce (patch)
tree87931cd22aa6fc9f68544eaf9d71430f75084fb4 /src/webchannel/qqmlwebchannel.h
parent892dfeeff0fd3c17cfeb3cbb887f7a80e436aa17 (diff)
Replace Q_NULLPTR with nullptr and fix a warning
* The warning was that a QJsonValue reference was used when iterating over a QJsonArray Task-number: QTBUG-91757 Change-Id: I72fefb0b1d119da565b6dd1bcbada4fa874fd94e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webchannel/qqmlwebchannel.h')
-rw-r--r--src/webchannel/qqmlwebchannel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webchannel/qqmlwebchannel.h b/src/webchannel/qqmlwebchannel.h
index 72d067a..bacf0df 100644
--- a/src/webchannel/qqmlwebchannel.h
+++ b/src/webchannel/qqmlwebchannel.h
@@ -59,7 +59,7 @@ class Q_WEBCHANNEL_EXPORT QQmlWebChannel : public QWebChannel
Q_PROPERTY( QQmlListProperty<QObject> registeredObjects READ registeredObjects )
public:
- explicit QQmlWebChannel(QObject *parent = Q_NULLPTR);
+ explicit QQmlWebChannel(QObject *parent = nullptr);
virtual ~QQmlWebChannel();
Q_INVOKABLE void registerObjects(const QVariantMap &objects);