diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-06 21:09:40 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-06 19:38:35 -0800 |
commit | 325f47c8d8c71a17b27722376ea0af0e7eddaeeb (patch) | |
tree | 86b8eec46c952ad45d72ccbb966c4bbb2f8dc903 /qt-ui/divelogimportdialog.cpp | |
parent | 8a230f9145816ea1cb4ea8071f6f0d7829900252 (diff) | |
download | subsurface-325f47c8d8c71a17b27722376ea0af0e7eddaeeb.tar.gz |
Add missing returns
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.cpp')
-rw-r--r-- | qt-ui/divelogimportdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp index 3e50e4a97..d5fcd40a9 100644 --- a/qt-ui/divelogimportdialog.cpp +++ b/qt-ui/divelogimportdialog.cpp @@ -36,6 +36,7 @@ bool ColumnNameProvider::insertRows(int row, int count, const QModelIndex &paren beginInsertRows(QModelIndex(), row, row); columnNames.append(QString()); endInsertRows(); + return true; } bool ColumnNameProvider::removeRows(int row, int count, const QModelIndex &parent) @@ -43,6 +44,7 @@ bool ColumnNameProvider::removeRows(int row, int count, const QModelIndex &paren beginRemoveRows(QModelIndex(), row, row); columnNames.removeAt(row); endRemoveRows(); + return true; } bool ColumnNameProvider::setData(const QModelIndex &index, const QVariant &value, int role) @@ -51,6 +53,7 @@ bool ColumnNameProvider::setData(const QModelIndex &index, const QVariant &value columnNames[index.row()] = value.toString(); } dataChanged(index, index); + return true; } QVariant ColumnNameProvider::data(const QModelIndex &index, int role) const @@ -150,6 +153,7 @@ bool ColumnNameResult::setData(const QModelIndex &index, const QVariant &value, columnNames[index.column()] = value.toString(); dataChanged(index, index); } + return true; } QVariant ColumnNameResult::data(const QModelIndex &index, int role) const |