diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-02-07 00:16:37 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-02-09 08:47:14 +0000 |
commit | e4cfd64ed2458c45fe13e5fed611952632d69156 (patch) | |
tree | 99665853b76174b0370ff6c12b9d0824ecf4156c /src/qml/util/qqmladaptormodel_p.h | |
parent | b7e7528f78ffa97d68669a171f8d6696ad5e35f3 (diff) |
QQmlAdaptorModel::Accessors: remove unused function 'count()'
QQmlAdaptorModel now uses rowCount() and columnCount() instead
of count(). So this function is no longer needed.
Change-Id: I4e72be756b82f1a250f325cb9533144c15098d1d
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/qml/util/qqmladaptormodel_p.h')
-rw-r--r-- | src/qml/util/qqmladaptormodel_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/util/qqmladaptormodel_p.h b/src/qml/util/qqmladaptormodel_p.h index 480aa50459..75edcfd2ed 100644 --- a/src/qml/util/qqmladaptormodel_p.h +++ b/src/qml/util/qqmladaptormodel_p.h @@ -74,7 +74,6 @@ public: public: inline Accessors() {} virtual ~Accessors(); - virtual int count(const QQmlAdaptorModel &) const { return 0; } virtual int rowCount(const QQmlAdaptorModel &) const { return 0; } virtual int columnCount(const QQmlAdaptorModel &) const { return 0; } virtual void cleanup(QQmlAdaptorModel &, QQmlDelegateModel * = 0) const {} |