Mercurial > hg > svcore
diff data/model/ModelDataTableModel.cpp @ 1365:3382d914e110
Merge from branch 3.0-integration
author | Chris Cannam |
---|---|
date | Fri, 13 Jan 2017 10:29:44 +0000 |
parents | cbdd534f517a |
children | ec9e65fcf749 |
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.cpp Mon Nov 21 16:32:58 2016 +0000 +++ b/data/model/ModelDataTableModel.cpp Fri Jan 13 10:29:44 2017 +0000 @@ -47,7 +47,8 @@ if (!m_model) return QVariant(); if (role != Qt::EditRole && role != Qt::DisplayRole) return QVariant(); if (!index.isValid()) return QVariant(); - return m_model->getData(getUnsorted(index.row()), index.column(), role); + QVariant d = m_model->getData(getUnsorted(index.row()), index.column(), role); + return d; } bool