Remove extra base class call.

Took 3 minutes
This commit is contained in:
Lukas Brübach 2026-05-27 00:05:13 +02:00
parent 3ed74a595a
commit fbf114b351

View file

@ -476,7 +476,6 @@ void CardItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
{ {
if (event->button() == Qt::RightButton && owner != nullptr) { if (event->button() == Qt::RightButton && owner != nullptr) {
emit rightClicked(this, event->screenPos()); emit rightClicked(this, event->screenPos());
AbstractCardItem::mouseReleaseEvent(event);
return; return;
} }
if ((event->modifiers() != Qt::AltModifier) && (event->button() == Qt::LeftButton) && if ((event->modifiers() != Qt::AltModifier) && (event->button() == Qt::LeftButton) &&