Url corrected in httpclient.
authorJanne Änäkkälä <janne_anakkala@hotmail.com>
Wed, 26 May 2010 09:09:34 +0000 (12:09 +0300)
committerJanne Änäkkälä <janne_anakkala@hotmail.com>
Wed, 26 May 2010 09:09:34 +0000 (12:09 +0300)
Client/httpclient.cpp

index ce3f2d8..f200355 100644 (file)
@@ -201,7 +201,7 @@ void HttpClient::requestTopList(QString category, QString limit)
 void HttpClient::requestCategories()
 {
     qDebug() << "_requestCategories" ;
-    QUrl qurl("www.speedfreak-app.com/results/categories");
+    QUrl qurl("http://www.speedfreak-app.com/results/categories");
 
     qDebug() << qurl.toString();
     QNetworkRequest request(qurl);
@@ -274,7 +274,7 @@ void HttpClient::ackOfResult()
             myMainw->accstart->accRealTimeDialog->resultDialog->setSendServerButtonEnabled();
     }
     else {
-        qDebug() << "errorcode:" << errorcode << reply->errorString();
+        //qDebug() << "errorcode:" << errorcode << reply->errorString();
 
         //Indicating user
         if(myMainw->accstart->accRealTimeDialog->resultDialog)
@@ -364,7 +364,7 @@ void HttpClient::ackOfCategories()
             myMainw->topResultDialog->setLabelInfoToUser("You're not logged! Please register or log in.");
     }
     else {
-        qDebug() <<  "errorcode:" << errorcode << reply->errorString();
+        //qDebug() <<  "errorcode:" << errorcode << reply->errorString();
         //QMessageBox::about(myMainw->topResultDialog, "Server reply to requesting categories ", "OK");
         if(myMainw->topResultDialog)
             myMainw->topResultDialog->setLabelInfoToUser("");