diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-05-17 16:47:14 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-17 13:52:23 -0700 |
commit | 0c33d585ea152f53ceb3d92eaaa69f157f3e3782 (patch) | |
tree | 15a80a5a52a2a0eebf6a4c05cd3065941437449f /qt-ui | |
parent | 3235dd842ebd41b189fa328dd1145b68083f2f95 (diff) | |
download | subsurface-0c33d585ea152f53ceb3d92eaaa69f157f3e3782.tar.gz |
Implement the row count for location information
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/locationinformation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index 22f959cda..ad23b0901 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -13,7 +13,8 @@ LocationInformationModel::LocationInformationModel(QObject *obj) int LocationInformationModel::rowCount(const QModelIndex &parent) const { - + Q_UNUSED(parent); + return internalRowCount; } QVariant LocationInformationModel::data(const QModelIndex &index, int role) const |