QUrl SeasidePerson::avatarPath() const
{
    QUrl url = avatarUrl();
    if (!url.isEmpty())
        return url;

    return QUrl("image://theme/icon-m-telephony-contact-avatar");
}
QImage QGitHubReleaseAPIPrivate::avatar(int idx) const {

	if(m_avatars.contains(idx)) {
		return m_avatars.value(idx);
	} else {
		QImage img = QImage::fromData(downloadFile(avatarUrl(idx)));
		if(!img.isNull()) return *m_avatars.insert(idx, img);
	}

	return QImage();
}