summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-05-17 16:47:14 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-17 13:52:23 -0700
commit0c33d585ea152f53ceb3d92eaaa69f157f3e3782 (patch)
tree15a80a5a52a2a0eebf6a4c05cd3065941437449f
parent3235dd842ebd41b189fa328dd1145b68083f2f95 (diff)
downloadsubsurface-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>
-rw-r--r--qt-ui/locationinformation.cpp3
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