Hi!
I have a QMainWindow that has a QDockWidget that shows a tree view. The tree view is supposed to let the user to rearange the tree by dragNdrop. This works fine when the program is started with the QDockWidget is attached to the QMainWindow. But when I have dettached the QDockWidget it only hears the startDrag(). But the dragMoveEvent is not triggered. If I reattach the QDockWidget to the QMainWindow again, it doesn't work either. It only works when the program is started with the QDockWidget attached to the QMainWindow.

I can't figure out why this is happening. Is there someone that has an idea?