summaryrefslogtreecommitdiffstats
path: root/qt-models/yearlystatisticsmodel.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-07 03:43:20 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 11:23:27 -0800
commitbeb0bc7a1d79a652ef002c37a282ee390ae92f0b (patch)
tree0185fd701d8fee2708a7de96d9b91d6dc97677f5 /qt-models/yearlystatisticsmodel.cpp
parentd7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a (diff)
downloadsubsurface-beb0bc7a1d79a652ef002c37a282ee390ae92f0b.tar.gz
Silence more warnings
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/yearlystatisticsmodel.cpp')
-rw-r--r--qt-models/yearlystatisticsmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/yearlystatisticsmodel.cpp b/qt-models/yearlystatisticsmodel.cpp
index 955f0e8ee..f6579f499 100644
--- a/qt-models/yearlystatisticsmodel.cpp
+++ b/qt-models/yearlystatisticsmodel.cpp
@@ -108,7 +108,7 @@ QVariant YearStatisticsItem::data(int column, int role) const
return ret;
}
-YearlyStatisticsModel::YearlyStatisticsModel(QObject *parent)
+YearlyStatisticsModel::YearlyStatisticsModel(QObject *parent) : TreeModel(parent)
{
columns = COLUMNS;
update_yearly_stats();