View Full Version : Drag and Drop bug?

4th September 2006, 12:51

I have a QListWidget and a QTreeWidget inside a QSplitter. selectionMode of QListWidget is ExtendedSelection. Also I have setDragEnabled(true). Apart from this I have setAcceptDrops(true) in QTreeWidget.

Now, in the QListWidget I select alternate items and drag them to the tree widget and drop. The dragged items are added in the tree widget as top level items with gaps in between them. When I click on the gaps, my application crashes.

I am using Qt 4.1.3 on winxp

Can someone please confirm this ?

Thanks a lot

4th September 2006, 16:56
What do you mean by "gaps"? Could you possibly post a minimal compilable example which reproduces the problem?