summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-11-21 00:32:13 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-21 03:35:02 -0800
commit8aadd4d3726bda224d5215bb810e3e37dff53b28 (patch)
treea9d18d3d03ba6ab1e5ebffe0c0f58cf2e8a9188a
parent27d6b2be6e4813a6495d1231a6050cad6c37030a (diff)
downloadsubsurface-8aadd4d3726bda224d5215bb810e3e37dff53b28.tar.gz
Quiet down warning about return in non-void
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/models.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 0748cd43e..f837c03c6 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -859,6 +859,7 @@ QVariant TreeModel::data(const QModelIndex& index, int role) const
bool TreeItem::setData(const QModelIndex& index, const QVariant& value, int role)
{
+ return false;
}
QModelIndex TreeModel::index(int row, int column, const QModelIndex& parent)