Commit e0383af6 authored by Fabio Bas's avatar Fabio Bas
Browse files

workaround "Signals are protected in qt4"

parent ac16602f
......@@ -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
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment