From 5b3afe255c282479cfbd0e19071cf5fc249e4291 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 22 Feb 2019 20:41:47 +0100 Subject: Remove Q_INVOKABLE from QQmlTableModel::index() This function is already invokable in QAbstractItemModel, so that works even though we override it in TableModel. Change-Id: I8bc24ae8d4653011975fbe95d6adf7e98d56afe6 Reviewed-by: Mitch Curtis --- src/qml/types/qqmltablemodel_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/types') diff --git a/src/qml/types/qqmltablemodel_p.h b/src/qml/types/qqmltablemodel_p.h index 5cb42b2cc8..3bbaff4183 100644 --- a/src/qml/types/qqmltablemodel_p.h +++ b/src/qml/types/qqmltablemodel_p.h @@ -85,7 +85,7 @@ public: QJSValue roleDataProvider() const; void setRoleDataProvider(QJSValue roleDataProvider); - Q_INVOKABLE QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override; + QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override; int rowCount(const QModelIndex &parent = QModelIndex()) const override; int columnCount(const QModelIndex &parent = QModelIndex()) const override; Q_INVOKABLE QVariant data(const QModelIndex &index, const QString &role) const; -- cgit v1.2.3