Maybe you can override the dropEvent ( QDropEvent * event ) from QAbstractItemView in your QTreeView and do something like that
Qt Code:
{ if (!dropIndex.parent().isValid()) { // if i have no parent, let the event do his job } }To copy to clipboard, switch view to plain text mode
Bookmarks