implemented sending/resending- buffer and lots of other bugfixes

This commit is contained in:
Alex
2015-04-03 23:11:41 +02:00
parent 5bddfa9c78
commit f3d518b4d4
30 changed files with 8255 additions and 46 deletions

View File

@@ -41,6 +41,8 @@ QString removeComments(QString intext)
}
/////////////////////////////////////////////////// remove last line if empty
if(outTmp2.endsWith("\n")) outTmp2.chop(1);
/////////////////////////////////////////////////// remove first line if empty
if(outTmp2.startsWith("\n")) outTmp2.remove(0,1);
///////////////////////////////////////////////////
return outTmp2;
}
@@ -78,8 +80,8 @@ void txThread::sendNext()
emit layerTransmitted();
}
}
//qDebug()<<"sending: " << tmp << endl;/////////////////////////////
bot->send(tmp);
double progress= (double) lineCounter/(double)lineMax;
emit progressChanged(progress*100);
lineCounter++;