From 0c33d585ea152f53ceb3d92eaaa69f157f3e3782 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Sun, 17 May 2015 16:47:14 -0300 Subject: Implement the row count for location information Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/locationinformation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2