summaryrefslogtreecommitdiff
path: root/src/data/graphelementdata.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-01-04 16:21:10 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-01-04 16:21:10 +0100
commitc2e2f01df42ee690c136c577b37bb307b4e9d64c (patch)
tree33b30b850e0e1b3214aa584619b208c7eacf82f9 /src/data/graphelementdata.cpp
parent47d8a68613d823bbf93fd5cf6133a5753fbaa5b3 (diff)
fixed a couple of warnings
Diffstat (limited to 'src/data/graphelementdata.cpp')
-rw-r--r--src/data/graphelementdata.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data/graphelementdata.cpp b/src/data/graphelementdata.cpp
index 3ce72c7..41fcbf0 100644
--- a/src/data/graphelementdata.cpp
+++ b/src/data/graphelementdata.cpp
@@ -86,6 +86,8 @@ QVariant GraphElementData::data(const QModelIndex &index, int role) const
QString s = (index.column() == 0) ? p.key() : p.value();
return QVariant(s);
}
+
+ return QVariant();
}
QVariant GraphElementData::headerData(int section, Qt::Orientation orientation, int role) const