Yes, absolutely..So you are saying that this works
but thisQt Code:
{ return mime; }QMimeData* myModel::mimedata(const QModelIndexList& indexs) const { QMimeData* mime = new QMimeData(); return mime; }To copy to clipboard, switch view to plain text mode
doesn't?Qt Code:
{ return mime; }QMimeData* myModel::mimedata(const QModelIndexList& indexs) const { QMimeData* mime = new MyMimedata(); return mime; }To copy to clipboard, switch view to plain text mode
I.e. an empty mime data object, default construced, in both cases?
Cheers,
_






Reply With Quote

Bookmarks