How to restrict QTableWidget drags to Qt::CopyAction
The title says it all. I reimplemented ::mimeData() to set urls for my file items, but the drag action is always set to MoveAction. I need to it always be copy action in all cases. Is there a way to do this?
From the top of my head you should look into the defaultDropAction.
Hope it helps
[edit: Fixed property name SGaist]