PDA

View Full Version : Drag n Drop question



Ashitaka
1st December 2006, 06:36
I'm a bit confused. What does the function acceptProposedAction() in QDropEvent class do? I encounter it in every example, but it seems to me, that everything works fine without it(if I comment the line). Or am I wrong?

e8johan
1st December 2006, 07:21
Look at the Qt docs for DropActions - you simply choose to accept the default one in most cases.