workaround "Signals are protected in qt4"

This commit is contained in:
Fabio Bas 2015-09-22 23:57:39 +02:00
parent ac16602f08
commit e0383af6dd
2 changed files with 2 additions and 1 deletions

View file

@ -137,6 +137,7 @@ public:
void setCustomPicURL(const QString &_set, const QString &_customPicURL) { customPicURLs.insert(_set, _customPicURL); }
void setMuId(const QString &_set, const int &_muId) { muIds.insert(_set, _muId); }
void addToSet(CardSet *set);
void emitPixmapUpdated() { emit pixmapUpdated(); }
/**
* Simplify a name to have no punctuation and lowercase all letters, for

View file

@ -415,7 +415,7 @@ void PictureLoader::imageLoaded(CardInfo *card, const QImage &image)
QPixmapCache::insert(card->getPixmapCacheKey(), QPixmap::fromImage(image));
}
emit card->pixmapUpdated();
card->emitPixmapUpdated();
}
void PictureLoader::clearPixmapCache(CardInfo *card)