summaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/graphelementdata.cpp2
-rw-r--r--src/data/graphelementdata.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/data/graphelementdata.cpp b/src/data/graphelementdata.cpp
index 63c8cea..01736b8 100644
--- a/src/data/graphelementdata.cpp
+++ b/src/data/graphelementdata.cpp
@@ -131,7 +131,7 @@ int GraphElementData::rowCount(const QModelIndex &parent) const
}
}
-int GraphElementData::columnCount(const QModelIndex &parent) const
+int GraphElementData::columnCount(const QModelIndex &) const
{
return 2;
}
diff --git a/src/data/graphelementdata.h b/src/data/graphelementdata.h
index 319edf7..740d4dc 100644
--- a/src/data/graphelementdata.h
+++ b/src/data/graphelementdata.h
@@ -34,7 +34,7 @@ public:
QModelIndex parent(const QModelIndex &index) const Q_DECL_OVERRIDE;
int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
- int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
+ int columnCount(const QModelIndex &) const Q_DECL_OVERRIDE;
Qt::ItemFlags flags(const QModelIndex &index) const Q_DECL_OVERRIDE;