summaryrefslogtreecommitdiff
path: root/src/webchannel
diff options
context:
space:
mode:
Diffstat (limited to 'src/webchannel')
-rw-r--r--src/webchannel/qmetaobjectpublisher_p.h2
-rw-r--r--src/webchannel/qwebchannel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/webchannel/qmetaobjectpublisher_p.h b/src/webchannel/qmetaobjectpublisher_p.h
index ff077e7..3047548 100644
--- a/src/webchannel/qmetaobjectpublisher_p.h
+++ b/src/webchannel/qmetaobjectpublisher_p.h
@@ -62,7 +62,7 @@ class Q_WEBCHANNEL_EXPORT QMetaObjectPublisher : public QObject, public QWebChan
Q_OBJECT
Q_INTERFACES(QWebChannelMessageHandlerInterface)
public:
- QMetaObjectPublisher(QWebChannel *webChannel);
+ explicit QMetaObjectPublisher(QWebChannel *webChannel);
virtual ~QMetaObjectPublisher();
/**
diff --git a/src/webchannel/qwebchannel.h b/src/webchannel/qwebchannel.h
index f6965e0..9e30152 100644
--- a/src/webchannel/qwebchannel.h
+++ b/src/webchannel/qwebchannel.h
@@ -59,7 +59,7 @@ class Q_WEBCHANNEL_EXPORT QWebChannel : public QObject
Q_DISABLE_COPY(QWebChannel)
Q_PROPERTY(bool blockUpdates READ blockUpdates WRITE setBlockUpdates NOTIFY blockUpdatesChanged);
public:
- QWebChannel(QObject *parent = 0);
+ explicit QWebChannel(QObject *parent = 0);
~QWebChannel();
/**