update remaining signals

This commit is contained in:
RickyRister 2025-01-08 22:47:32 -08:00
parent e7475703a5
commit 0e05309f55
20 changed files with 174 additions and 165 deletions

View file

@ -50,7 +50,7 @@ void PileZone::paint(QPainter *painter, const QStyleOptionGraphicsItem * /*optio
void PileZone::addCardImpl(CardItem *card, int x, int /*y*/)
{
connect(card, SIGNAL(sigPixmapUpdated()), this, SLOT(callUpdate()));
connect(card, &CardItem::sigPixmapUpdated, this, &PileZone::callUpdate);
// if x is negative set it to add at end
if (x < 0 || x >= cards.size()) {
x = cards.size();