remove QGraphicsItem binary compat bits

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-09-22 19:07:41 +03:00
parent 7b69cca1a9
commit c52e34c91e

View file

@ -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);
}
/*!
@ -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);
}
/*!
@ -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);
}
/*!
@ -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);
}
/*!