From 80aee638c94ba3b6f76d73b56c1097c67b600c7d Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Mon, 27 Apr 2020 15:20:27 +0200 Subject: [PATCH] Fixed bug that drop overlay sometimes was not visible when moving the drag preview over a floating window This bug was caused by accidentally using hide() instead of hideOverlay() --- src/FloatingDragPreview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FloatingDragPreview.cpp b/src/FloatingDragPreview.cpp index 0b921b9..f0f6ac8 100644 --- a/src/FloatingDragPreview.cpp +++ b/src/FloatingDragPreview.cpp @@ -156,7 +156,7 @@ void FloatingDragPreviewPrivate::updateDropOverlays(const QPoint &GlobalPos) // would be removed and inserted at the same position if (VisibleDockAreas <= 1) { - ContainerOverlay->hide(); + ContainerOverlay->hideOverlay(); } if (DockArea == ContentSourceArea && InvalidDockWidgetArea == ContainerDropArea)