Ok, problem solved... from your replies it seemed likely the problem was in my code so I looked things over more carefully and found a bug in my QAbstractListModel::data reimplementation...
was:
[...]
if (role != Qt::DisplayRole || role != Qt::EditRole)
// return data...
[...]
[...]
if (role != Qt::DisplayRole || role != Qt::EditRole)
return QVariant();
// return data...
[...]
To copy to clipboard, switch view to plain text mode
fixed:
[...]
if (role != Qt::DisplayRole && role != Qt::EditRole)
// return data...
[...]
[...]
if (role != Qt::DisplayRole && role != Qt::EditRole)
return QVariant();
// return data...
[...]
To copy to clipboard, switch view to plain text mode
Thanks,
-andy.f
Bookmarks