diff --git a/core/area.h b/core/area.h index 6c5fa324c..6c2fb7c4d 100644 --- a/core/area.h +++ b/core/area.h @@ -482,8 +482,7 @@ bool RegularArea::contains( const NormalizedShape& shape if ( this->isEmpty() ) return false; - const QList * const list = dynamic_cast * const >( this ); - return list->contains( shape ); + return QList::contains( shape ); } template