summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeengine.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-06 14:11:23 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-07 09:05:08 +0000
commitce4d4941b9182bd65479e2b3f3e507aa381e3f8c (patch)
tree5c22f3807f53708149d991c4dd8394235a156508 /src/declarative/qml/qdeclarativeengine.h
parenta6fe61915ef46b300975faa394736344046e600c (diff)
Make more ctors explicit
Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. One is even a protected ctor. Change-Id: If047884d130206b8ea42148476ab449c2cbf7529 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativeengine.h')
-rw-r--r--src/declarative/qml/qdeclarativeengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeengine.h b/src/declarative/qml/qdeclarativeengine.h
index 875e000b..6cf7515d 100644
--- a/src/declarative/qml/qdeclarativeengine.h
+++ b/src/declarative/qml/qdeclarativeengine.h
@@ -62,7 +62,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativeEngine : public QObject
Q_PROPERTY(QString offlineStoragePath READ offlineStoragePath WRITE setOfflineStoragePath)
Q_OBJECT
public:
- QDeclarativeEngine(QObject *p = Q_NULLPTR);
+ explicit QDeclarativeEngine(QObject *p = Q_NULLPTR);
virtual ~QDeclarativeEngine();
QDeclarativeContext *rootContext() const;