Mercurial > hg > svcore
diff data/model/ModelDataTableModel.cpp @ 1255:ca9032dd2811 3.0-integration
Merge from branch piper
author | Chris Cannam |
---|---|
date | Sat, 05 Nov 2016 10:41:41 +0000 |
parents | cbdd534f517a |
children | ec9e65fcf749 |
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.cpp Fri Nov 04 16:44:59 2016 +0000 +++ b/data/model/ModelDataTableModel.cpp Sat Nov 05 10:41:41 2016 +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