forked from len0rd/rockbox
Don't put the complete HTML source in the trace when checking for a new version. The recognized filenames is enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23071 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8c078f34ff
commit
205231caf7
1 changed files with 1 additions and 1 deletions
|
@ -1248,7 +1248,6 @@ void RbUtilQt::downloadUpdateDone(bool error)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QString toParse(update->readAll());
|
QString toParse(update->readAll());
|
||||||
qDebug() << "[Checkupdate] " << toParse;
|
|
||||||
|
|
||||||
QRegExp searchString("<a[^>]*>(rbutilqt[^<]*)</a>");
|
QRegExp searchString("<a[^>]*>(rbutilqt[^<]*)</a>");
|
||||||
QStringList rbutilList;
|
QStringList rbutilList;
|
||||||
|
@ -1258,6 +1257,7 @@ void RbUtilQt::downloadUpdateDone(bool error)
|
||||||
rbutilList << searchString.cap(1);
|
rbutilList << searchString.cap(1);
|
||||||
pos += searchString.matchedLength();
|
pos += searchString.matchedLength();
|
||||||
}
|
}
|
||||||
|
qDebug() << "[Checkupdate] " << rbutilList;
|
||||||
|
|
||||||
QString newVersion ="";
|
QString newVersion ="";
|
||||||
//check if there is a binary with higher version in this list
|
//check if there is a binary with higher version in this list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue