diff options
Diffstat (limited to 'src/declarative/3rdparty')
-rw-r--r-- | src/declarative/3rdparty/qlistmodelinterface.h | 2 |
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; } |