File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -1452,30 +1452,9 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
1452
1452
}
1453
1453
1454
1454
1455
- /* *
1456
- * Returns the dock area for a dropped widget.
1457
- */
1458
- CDockAreaWidget* droppedDockArea (QWidget* Widget)
1459
- {
1460
- auto DroppedArea = qobject_cast<CDockAreaWidget*>(Widget);
1461
- if (!DroppedArea)
1462
- {
1463
- auto DroppedWidget = qobject_cast<CDockWidget*>(Widget);
1464
- DroppedArea = DroppedWidget->dockAreaWidget ();
1465
- }
1466
-
1467
- return DroppedArea;
1468
- }
1469
-
1470
-
1471
1455
// ============================================================================
1472
1456
void CDockContainerWidget::dropWidget (QWidget* Widget, DockWidgetArea DropArea, CDockAreaWidget* TargetAreaWidget)
1473
1457
{
1474
- if (TargetAreaWidget && TargetAreaWidget == droppedDockArea (Widget))
1475
- {
1476
- return ;
1477
- }
1478
-
1479
1458
CDockWidget* SingleDockWidget = topLevelDockWidget ();
1480
1459
if (TargetAreaWidget)
1481
1460
{
You can’t perform that action at this time.
0 commit comments