summaryrefslogtreecommitdiffstats
path: root/src/declarative/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/3rdparty')
-rw-r--r--src/declarative/3rdparty/qlistmodelinterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/3rdparty/qlistmodelinterface.h b/src/declarative/3rdparty/qlistmodelinterface.h
index e1eb21e..8a0cf44 100644
--- a/src/declarative/3rdparty/qlistmodelinterface.h
+++ b/src/declarative/3rdparty/qlistmodelinterface.h
@@ -70,7 +70,7 @@ class Q_DECLARATIVE_EXPORT QListModelInterface : public QObject
typedef QHash<int, QVariant> QHash_int;
typedef QList<int> QList_int;
- virtual QHash_int data(int index, const QList_int &roles = QList_int) const = 0;
+ virtual QHash_int data(int index, const QList_int &roles = QList_int()) const = 0;
virtual bool setData(int index, const QHash_int &values)
{ Q_UNUSED(index); Q_UNUSED(values); return false; }