diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-08-16 11:19:06 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-08-18 23:50:02 +0200 |
commit | b91b39a7e4f0156706fde4a77379719df86e6bfa (patch) | |
tree | aee6f1e08cca60141cfe890b1a0669be9492f8ba /src/webchannel | |
parent | 8a7f9813dc63e38ae346b1cd5d28b0aaf8a463c0 (diff) | |
download | qtwebchannel-b91b39a7e4f0156706fde4a77379719df86e6bfa.tar.gz |
Remove the extra semi-colons
qwebchannel.h:60:101: error: extra ‘;’ [-Wpedantic]
Change-Id: I7623b68ace59431266ca6a48bfa23bc306363e7e
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'src/webchannel')
-rw-r--r-- | src/webchannel/qqmlwebchannel.h | 4 | ||||
-rw-r--r-- | src/webchannel/qwebchannel.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/webchannel/qqmlwebchannel.h b/src/webchannel/qqmlwebchannel.h index 96ffdd3..051f7cf 100644 --- a/src/webchannel/qqmlwebchannel.h +++ b/src/webchannel/qqmlwebchannel.h @@ -57,7 +57,7 @@ class Q_WEBCHANNEL_EXPORT QQmlWebChannel : public QWebChannel Q_OBJECT Q_DISABLE_COPY(QQmlWebChannel) - Q_PROPERTY( QQmlListProperty<QObject> transports READ transports ); + Q_PROPERTY( QQmlListProperty<QObject> transports READ transports ) Q_PROPERTY( QQmlListProperty<QObject> registeredObjects READ registeredObjects ) public: @@ -76,7 +76,7 @@ public: private: Q_DECLARE_PRIVATE(QQmlWebChannel) - Q_PRIVATE_SLOT(d_func(), void _q_objectIdChanged(const QString &newId)); + Q_PRIVATE_SLOT(d_func(), void _q_objectIdChanged(const QString &newId)) static void registeredObjects_append(QQmlListProperty<QObject> *prop, QObject *item); static int registeredObjects_count(QQmlListProperty<QObject> *prop); diff --git a/src/webchannel/qwebchannel.h b/src/webchannel/qwebchannel.h index 7701751..30e1b69 100644 --- a/src/webchannel/qwebchannel.h +++ b/src/webchannel/qwebchannel.h @@ -57,7 +57,7 @@ class Q_WEBCHANNEL_EXPORT QWebChannel : public QObject { Q_OBJECT Q_DISABLE_COPY(QWebChannel) - Q_PROPERTY(bool blockUpdates READ blockUpdates WRITE setBlockUpdates NOTIFY blockUpdatesChanged); + Q_PROPERTY(bool blockUpdates READ blockUpdates WRITE setBlockUpdates NOTIFY blockUpdatesChanged) public: explicit QWebChannel(QObject *parent = 0); ~QWebChannel(); @@ -81,7 +81,7 @@ public Q_SLOTS: private: Q_DECLARE_PRIVATE(QWebChannel) QWebChannel(QWebChannelPrivate &dd, QObject *parent = 0); - Q_PRIVATE_SLOT(d_func(), void _q_transportDestroyed(QObject*)); + Q_PRIVATE_SLOT(d_func(), void _q_transportDestroyed(QObject*)) friend class QMetaObjectPublisher; friend class QQmlWebChannel; |