Merge pull request #8079 from CozmoP/dragndrop

Qt: add comment for QTBUG-72844 workaround
This commit is contained in:
Twinaphex 2019-01-23 19:08:36 +01:00 committed by GitHub
commit 4e6659b063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ void FileDropWidget::dragEnterEvent(QDragEnterEvent *event)
event->acceptProposedAction();
}
/* Workaround for QTBUG-72844. Without it, you can't drop on this if you first drag over another widget that doesn't accept drops. */
void FileDropWidget::dragMoveEvent(QDragMoveEvent *event)
{
event->acceptProposedAction();