Replaced all dynamic_casts with qobject_casts

This commit is contained in:
Uwe Kindler
2020-02-13 18:56:04 +01:00
parent 93394577d0
commit f236de3277
4 changed files with 9 additions and 9 deletions

View File

@@ -380,7 +380,7 @@ DockWidgetArea CDockOverlay::dropAreaUnderCursor() const
return Result;
}
CDockAreaWidget* DockArea = dynamic_cast<CDockAreaWidget*>(d->TargetWidget.data());
CDockAreaWidget* DockArea = qobject_cast<CDockAreaWidget*>(d->TargetWidget.data());
if (!DockArea)
{
return Result;