From 8aadd4d3726bda224d5215bb810e3e37dff53b28 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Thu, 21 Nov 2013 00:32:13 +0100 Subject: Quiet down warning about return in non-void Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/models.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') 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) -- cgit v1.2.3-70-g09d2