data is now downloaded from the itsblue server
This commit is contained in:
parent
e4935e842b
commit
4835a77547
1 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
Reference in a new issue