Hi,
I want to enable drag&drop on my QTreeWidget, to enable the user to reorder items with d&d. I do not need to interact with other widgets or applications. Also i dont want to copy items, i just want to move them. According to the documentation:
http://doc.qt.nokia.com/4.7/model-vi...venience-views

this code of mine should do:

Qt Code:
  1. pTreeWidget::pTreeWidget(QWidget* p)
  2. {
  3. setDragEnabled(true);
  4. setDropIndicatorShown(true);
  5. viewport()->setAcceptDrops(true);
  6.  
  7. setDragDropMode(QAbstractItemView::InternalMove);
  8. }
To copy to clipboard, switch view to plain text mode 
(i didnt subclass the widget for d&d, but for another purpose)

While i can grab items & drag them, and the drop indicator is also shown, nothing will happen when i drop the item.

Can someone help me & tell me whats missing?