card menu re-added

This commit is contained in:
Max-Wilhelm Bruker 2009-12-06 17:23:41 +01:00
parent bf92ef87da
commit bda7ec2186
6 changed files with 178 additions and 318 deletions

View file

@ -109,7 +109,7 @@ void AbstractCardItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *
void AbstractCardItem::setName(const QString &_name)
{
disconnect(info, 0, this, 0);
disconnect(info, 0, this, 0);
name = _name;
info = db->getCard(name);
connect(info, SIGNAL(pixmapUpdated()), this, SLOT(pixmapUpdated()));