summaryrefslogtreecommitdiff
path: root/src/declarative/qml/qdeclarativelist.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/qdeclarativelist.h
parenta6fe61915ef46b300975faa394736344046e600c (diff)
downloadqtquick1-ce4d4941b9182bd65479e2b3f3e507aa381e3f8c.tar.gz
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/qdeclarativelist.h')
-rw-r--r--src/declarative/qml/qdeclarativelist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativelist.h b/src/declarative/qml/qdeclarativelist.h
index 8653eb02..e5b8d249 100644
--- a/src/declarative/qml/qdeclarativelist.h
+++ b/src/declarative/qml/qdeclarativelist.h
@@ -116,7 +116,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativeListReference
{
public:
QDeclarativeListReference();
- QDeclarativeListReference(QObject *, const char *property, QDeclarativeEngine * = Q_NULLPTR);
+ explicit QDeclarativeListReference(QObject *, const char *property, QDeclarativeEngine * = Q_NULLPTR);
QDeclarativeListReference(const QDeclarativeListReference &);
QDeclarativeListReference &operator=(const QDeclarativeListReference &);
~QDeclarativeListReference();