From 0d84e0a9492672a8e4fb9b4774abfc57eeddfd4d Mon Sep 17 00:00:00 2001 From: CozmoP <25121396+CozmoP@users.noreply.github.com> Date: Wed, 23 Jan 2019 19:06:37 +0100 Subject: [PATCH] Qt: add comment for QTBUG-72844 workaround --- ui/drivers/qt/filedropwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/drivers/qt/filedropwidget.cpp b/ui/drivers/qt/filedropwidget.cpp index d8e4b8f3a3..e5f25fb7a4 100644 --- a/ui/drivers/qt/filedropwidget.cpp +++ b/ui/drivers/qt/filedropwidget.cpp @@ -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();