Qt: add comment for QTBUG-72844 workaround

This commit is contained in:
CozmoP 2019-01-23 19:06:37 +01:00 committed by GitHub
parent 4bf4d28111
commit 0d84e0a949
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();