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?
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?
Look at the Qt docs for DropActions - you simply choose to accept the default one in most cases.
Bookmarks