aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2019-02-22 20:41:47 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2019-02-25 11:39:53 +0000
commit5b3afe255c282479cfbd0e19071cf5fc249e4291 (patch)
treea705717a33943ef3203c43ad40a6541199604c31 /src/qml/types
parent0d9b674ddb030e817add1efaefe170e953c12e0d (diff)
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 <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/types')
-rw-r--r--src/qml/types/qqmltablemodel_p.h2
1 files changed, 1 insertions, 1 deletions
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;