example/DemoGUI/HomeView.cpp
changeset 26 83d6a149c755
parent 16 b78fa4cdbf2b
--- a/example/DemoGUI/HomeView.cpp	Thu Sep 23 17:43:31 2010 +0530
+++ b/example/DemoGUI/HomeView.cpp	Mon Oct 11 21:59:54 2010 +0530
@@ -12,7 +12,7 @@
 #include <QDebug>
 #include "ImageDownload.h"
 
-static int tab = 0;
+//static int tab = 0;
 
 HomeView::HomeView(QString aHeadName):
         iHeadName(aHeadName)
@@ -220,6 +220,7 @@
 
 void HomeView::friendsAvailable(SmfContactList* friendsList, SmfError error, SmfResultPage resultPage)
 	{
+	Q_UNUSED(resultPage)
 	qDebug()<<"Inside HomeView::friendsAvailable()";
 	
 	m_friendsList = friendsList;
@@ -235,7 +236,6 @@
 		}
 	
 	//display friends description
-	int count = 0;
 	qDebug()<<"Number of friends retrieved = "<<friendsList->count();
 	if(friendsList->count() == 0)
 		{
@@ -422,7 +422,6 @@
 		}
 	
 	//display posts details
-	int count = 0;
 	qDebug()<<"Number of posts retrieved = "<<postsList->count();
 	if(postsList->count() == 0)
 		{
@@ -519,7 +518,6 @@
 		}
 	
 	//display album details
-	int count = 0;
 	qDebug()<<"Number of albums retrieved = "<<albums->count();
 	if(albums->count() == 0)
 		{
@@ -587,6 +585,7 @@
 
 void HomeView::activitiesAvailable(SmfActivityEntryList* activitiesList, SmfError error, SmfResultPage resultPage)
 	{
+	Q_UNUSED(resultPage)
 	qDebug()<<"Inside HomeView::activitiesAvailable()";
 	
 	m_activitiesList = activitiesList;
@@ -603,7 +602,6 @@
 		}
 	
 	//display activity description
-	int count = 0;
 	qDebug()<<"Number of activities retrieved = "<<activitiesList->count();
 	
 	if(activitiesList->count() == 0)
@@ -693,6 +691,7 @@
 
 void HomeView::picturesAvailable(SmfPictureList* picList, SmfError error, SmfResultPage resultPage)
 	{
+	Q_UNUSED(resultPage)
 	qDebug()<<"Inside HomeView::picturesAvailable()";
 	
 	m_picList = picList;
@@ -708,7 +707,6 @@
 		}
 	
 	//display pic description
-	int count = 0;
 	qDebug()<<"Number of pic retrieved = "<<picList->count();
 	
 	QMap<QString, QUrl> urlMap;