Skip to content

Commit 80aee63

Browse files
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()
1 parent cdc863e commit 80aee63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FloatingDragPreview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void FloatingDragPreviewPrivate::updateDropOverlays(const QPoint &GlobalPos)
156156
// would be removed and inserted at the same position
157157
if (VisibleDockAreas <= 1)
158158
{
159-
ContainerOverlay->hide();
159+
ContainerOverlay->hideOverlay();
160160
}
161161

162162
if (DockArea == ContentSourceArea && InvalidDockWidgetArea == ContainerDropArea)

0 commit comments

Comments
 (0)