}
}
- if(m_user->profileImageUrl() == url) {
+ if (m_user->profileImageUrl() == url) {
m_user->setProfileImage(AvatarImage::create(image));
}
- if(m_user->profileImageUrlBig() == url) {
+ if (m_user->profileImageUrlBig() == url) {
m_user->setProfileImageBig(AvatarImage::create(image));
}
emit fetchImage(QUrl(SILHOUETTE_URL));
}
- if(!m_user->profileImageUrl().isEmpty() && m_user->profileImageUrl().isValid())
- emit fetchImage(m_user->profileImageUrl());
+ // dont download small profile image because not needed.
+// if(!m_user->profileImageUrl().isEmpty() && m_user->profileImageUrl().isValid())
+// emit fetchImage(m_user->profileImageUrl());
if(!m_user->profileImageUrlBig().isEmpty() && m_user->profileImageUrlBig().isValid()) {
emit fetchImage(m_user->profileImageUrlBig());