diff --git a/sources/serverconn.cpp b/sources/serverconn.cpp index 1490e00..a7d87e3 100644 --- a/sources/serverconn.cpp +++ b/sources/serverconn.cpp @@ -227,7 +227,7 @@ float ServerConn::getProgress() int ServerConn::getEvents(QString day){ - /* + this->progress = 0; ReturnData_t ret; //this is a custom type to store the returned data // Call the webservice @@ -265,8 +265,7 @@ int ServerConn::getEvents(QString day){ } QString eventString = reply->readAll(); -*/ - +/* qDebug() << "reading text file"; QFile * textFile = new QFile(":/samplehtml/Download File.txt"); if (!textFile->open(QIODevice::ReadOnly | QIODevice::Text)) { @@ -275,6 +274,7 @@ int ServerConn::getEvents(QString day){ } QString eventString = textFile->readAll(); + */ // separate all lines into a list QStringList events = eventString.split("\n");