Message log: remove all workarounds; fix #3553 (#3760)

* Remove workarounds in messagelog
This commit is contained in:
ctrlaltca 2019-07-08 04:27:50 +02:00 committed by Zach H
parent f10f9ada3a
commit f4adf79ad9
4 changed files with 55 additions and 104 deletions

View file

@ -52,7 +52,9 @@ void AbstractCardItem::cardInfoUpdated()
info = CardInfo::newInstance(name, "", true, QVariantHash(), QList<CardRelation *>(), QList<CardRelation *>(),
CardInfoPerSetMap(), false, -1, false);
}
connect(info.data(), SIGNAL(pixmapUpdated()), this, SLOT(pixmapUpdated()));
if (info.data()) {
connect(info.data(), SIGNAL(pixmapUpdated()), this, SLOT(pixmapUpdated()));
}
cacheBgColor();
update();