This commit is contained in:
RickyRister 2025-01-08 22:41:03 -08:00
parent 0e05309f55
commit f713452776
2 changed files with 1 additions and 5 deletions

View file

@ -24,7 +24,7 @@ AbstractCardItem::AbstractCardItem(QGraphicsItem *parent,
setFlag(ItemIsSelectable);
setCacheMode(DeviceCoordinateCache);
connect(&SettingsCache::instance(), &SettingsCache::displayCardNamesChanged, this, &AbstractCardItem::callUpdate);
connect(&SettingsCache::instance(), &SettingsCache::displayCardNamesChanged, this, [this] { update(); });
refreshCardInfo();
}

View file

@ -28,10 +28,6 @@ private:
qreal realZValue;
private slots:
void pixmapUpdated();
void callUpdate()
{
update();
}
public slots:
void refreshCardInfo();