mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
cleanup
This commit is contained in:
parent
0e05309f55
commit
f713452776
2 changed files with 1 additions and 5 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -28,10 +28,6 @@ private:
|
|||
qreal realZValue;
|
||||
private slots:
|
||||
void pixmapUpdated();
|
||||
void callUpdate()
|
||||
{
|
||||
update();
|
||||
}
|
||||
|
||||
public slots:
|
||||
void refreshCardInfo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue