cleaning
[situare] / src / situareservice / situareservice.cpp
index afdc7c9..6c05c51 100644 (file)
@@ -327,9 +327,7 @@ void SituareService::parseUserData(const QByteArray &jsonReply)
     QPointF coordinates(userMap["longitude"].toReal(), userMap["latitude"].toReal());
 
     QUrl imageUrl = userMap["profile_pic"].toUrl();
-    qWarning() << "JOOO1" << imageUrl;
     QUrl imageUrlBig = userMap["pic_big"].toUrl();
-    qWarning() << "JOOO2" << imageUrlBig;
 
     if(imageUrl.isEmpty()) {
         // user doesn't have profile image, so we need to get him a silhouette image
@@ -391,7 +389,6 @@ void SituareService::imageReceived(const QUrl &url, const QPixmap &image)
 
     if(m_user->profileImageUrlBig() == url) {
         m_user->setProfileImageBig(AvatarImage::create(image));
-        qWarning() << "OTETTIIN VASTAAN SUURI PROFIILIKUVA";
     }
 
     for(int i=0;i<m_friendsList.count();i++) {
@@ -417,14 +414,11 @@ void SituareService::addProfileImages()
         emit fetchImage(QUrl(SILHOUETTE_URL));
     }
 
-    if(!m_user->profileImageUrl().isEmpty() && m_user->profileImageUrl().isValid()) {
+    if(!m_user->profileImageUrl().isEmpty() && m_user->profileImageUrl().isValid())
         emit fetchImage(m_user->profileImageUrl());
-        qWarning() << "PROFILE IMAGE URL: " << m_user->profileImageUrl();
-    }
 
     if(!m_user->profileImageUrlBig().isEmpty() && m_user->profileImageUrlBig().isValid()) {
         emit fetchImage(m_user->profileImageUrlBig());
-        qWarning() << "PROFILE IMAGE URL BIG: " << m_user->profileImageUrlBig();
     }
 
     for(int i=0;i<m_friendsList.count();i++) {