- Done optimizing foreach loops

This commit is contained in:
Christophe Dumez 2009-01-24 20:07:05 +00:00
parent cc77b2f578
commit 17e0700a52
2 changed files with 2 additions and 3 deletions

View file

@ -174,7 +174,7 @@ void HttpConnection::respondCommand(QString command)
{
QString urls = parser.post("urls");
QStringList list = urls.split('\n');
foreach(QString url, list){
foreach(QString url, list){
url = url.trimmed();
if(!url.isEmpty()){
qDebug("Downloading url: %s", (const char*)url.toUtf8());