Skip to content

Commit

Permalink
remove QGraphicsItem binary compat bits
Browse files Browse the repository at this point in the history
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
  • Loading branch information
fluxer committed Sep 22, 2023
1 parent 7b69cca commit c52e34c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/gui/graphicsview/qgraphicsitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6449,10 +6449,6 @@ void QGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
*/
void QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
{
Q_D(QGraphicsItem);
// binary compatibility workaround between 4.4 and 4.5
if (d->isProxyWidget())
static_cast<QGraphicsProxyWidget*>(this)->dragEnterEvent(event);
}

/*!
Expand All @@ -6473,10 +6469,6 @@ void QGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event)
*/
void QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
{
Q_D(QGraphicsItem);
// binary compatibility workaround between 4.4 and 4.5
if (d->isProxyWidget())
static_cast<QGraphicsProxyWidget*>(this)->dragLeaveEvent(event);
}

/*!
Expand All @@ -6500,10 +6492,6 @@ void QGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event)
*/
void QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
{
Q_D(QGraphicsItem);
// binary compatibility workaround between 4.4 and 4.5
if (d->isProxyWidget())
static_cast<QGraphicsProxyWidget*>(this)->dragMoveEvent(event);
}

/*!
Expand All @@ -6522,10 +6510,6 @@ void QGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event)
*/
void QGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent *event)
{
Q_D(QGraphicsItem);
// binary compatibility workaround between 4.4 and 4.5
if (d->isProxyWidget())
static_cast<QGraphicsProxyWidget*>(this)->dropEvent(event);
}

/*!
Expand Down

0 comments on commit c52e34c

Please sign in to comment.